mirror of
https://github.com/org-roam/org-roam
synced 2025-08-17 13:33:31 -05:00
Deploying to gh-pages from @ 6f5d65abd9
🚀
This commit is contained in:
13
manual.html
13
manual.html
@@ -917,14 +917,15 @@ closure is evaluated and the return value is used as the
|
|||||||
template. The closure must evaluate to a valid template string.
|
template. The closure must evaluate to a valid template string.
|
||||||
</p></dd></dl>
|
</p></dd></dl>
|
||||||
|
|
||||||
<p>The default template is optimized for vertical completion frameworks, such as
|
<p>If you’re using a vertical completion framework, such as Ivy and Selectrum,
|
||||||
Ivy and Selectrum. The additional space injected into the node completions may
|
Org-roam supports the generation of an aligned, tabular completion interface.
|
||||||
confuse users that aren’t using these frameworks. To remove the additional
|
For example, to include a column for tags up to 10 character widths wide, one
|
||||||
spacing from the completions, set the node display template to something
|
can set <code>org-roam-node-display-template</code> as such:
|
||||||
simpler, such as:
|
|
||||||
</p>
|
</p>
|
||||||
<div class="lisp">
|
<div class="lisp">
|
||||||
<pre class="lisp">(setq org-roam-node-display-template "${title}")
|
<pre class="lisp">(setq org-roam-node-display-template
|
||||||
|
(concat "${title:*} "
|
||||||
|
(propertize "${tags:10}" 'face 'org-tag)))
|
||||||
</pre></div>
|
</pre></div>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
13
org-roam.org
13
org-roam.org
@@ -455,14 +455,15 @@ through `org-roam-node-read`. The presentation of these nodes are governed by
|
|||||||
closure is evaluated and the return value is used as the
|
closure is evaluated and the return value is used as the
|
||||||
template. The closure must evaluate to a valid template string.
|
template. The closure must evaluate to a valid template string.
|
||||||
|
|
||||||
The default template is optimized for vertical completion frameworks, such as
|
If you're using a vertical completion framework, such as Ivy and Selectrum,
|
||||||
Ivy and Selectrum. The additional space injected into the node completions may
|
Org-roam supports the generation of an aligned, tabular completion interface.
|
||||||
confuse users that aren't using these frameworks. To remove the additional
|
For example, to include a column for tags up to 10 character widths wide, one
|
||||||
spacing from the completions, set the node display template to something
|
can set ~org-roam-node-display-template~ as such:
|
||||||
simpler, such as:
|
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(setq org-roam-node-display-template "${title}")
|
(setq org-roam-node-display-template
|
||||||
|
(concat "${title:*} "
|
||||||
|
(propertize "${tags:10}" 'face 'org-tag)))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* Customizing Node Caching
|
* Customizing Node Caching
|
||||||
|
@@ -750,14 +750,15 @@ closure is evaluated and the return value is used as the
|
|||||||
template. The closure must evaluate to a valid template string.
|
template. The closure must evaluate to a valid template string.
|
||||||
@end defvar
|
@end defvar
|
||||||
|
|
||||||
The default template is optimized for vertical completion frameworks, such as
|
If you're using a vertical completion framework, such as Ivy and Selectrum,
|
||||||
Ivy and Selectrum. The additional space injected into the node completions may
|
Org-roam supports the generation of an aligned, tabular completion interface.
|
||||||
confuse users that aren't using these frameworks. To remove the additional
|
For example, to include a column for tags up to 10 character widths wide, one
|
||||||
spacing from the completions, set the node display template to something
|
can set @code{org-roam-node-display-template} as such:
|
||||||
simpler, such as:
|
|
||||||
|
|
||||||
@lisp
|
@lisp
|
||||||
(setq org-roam-node-display-template "$@{title@}")
|
(setq org-roam-node-display-template
|
||||||
|
(concat "$@{title:*@} "
|
||||||
|
(propertize "$@{tags:10@}" 'face 'org-tag)))
|
||||||
@end lisp
|
@end lisp
|
||||||
|
|
||||||
@node Customizing Node Caching
|
@node Customizing Node Caching
|
||||||
|
Reference in New Issue
Block a user