Deploying to gh-pages from @ 6f5d65abd9 🚀

This commit is contained in:
jethrokuan
2022-01-20 19:20:12 +00:00
parent 8b09639cd8
commit bf09d11f3d
3 changed files with 21 additions and 18 deletions

View File

@@ -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.
</p></dd></dl>
<p>The default template is optimized for vertical completion frameworks, such as
Ivy and Selectrum. The additional space injected into the node completions may
confuse users that aren&rsquo;t using these frameworks. To remove the additional
spacing from the completions, set the node display template to something
simpler, such as:
<p>If you&rsquo;re using a vertical completion framework, such as Ivy and Selectrum,
Org-roam supports the generation of an aligned, tabular completion interface.
For example, to include a column for tags up to 10 character widths wide, one
can set <code>org-roam-node-display-template</code> as such:
</p>
<div class="lisp">
<pre class="lisp">(setq org-roam-node-display-template &quot;${title}&quot;)
<pre class="lisp">(setq org-roam-node-display-template
(concat &quot;${title:*} &quot;
(propertize &quot;${tags:10}&quot; 'face 'org-tag)))
</pre></div>
<hr>

View File

@@ -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
template. The closure must evaluate to a valid template string.
The default template is optimized for vertical completion frameworks, such as
Ivy and Selectrum. The additional space injected into the node completions may
confuse users that aren't using these frameworks. To remove the additional
spacing from the completions, set the node display template to something
simpler, such as:
If you're using a vertical completion framework, such as Ivy and Selectrum,
Org-roam supports the generation of an aligned, tabular completion interface.
For example, to include a column for tags up to 10 character widths wide, one
can set ~org-roam-node-display-template~ as such:
#+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
* Customizing Node Caching

View File

@@ -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.
@end defvar
The default template is optimized for vertical completion frameworks, such as
Ivy and Selectrum. The additional space injected into the node completions may
confuse users that aren't using these frameworks. To remove the additional
spacing from the completions, set the node display template to something
simpler, such as:
If you're using a vertical completion framework, such as Ivy and Selectrum,
Org-roam supports the generation of an aligned, tabular completion interface.
For example, to include a column for tags up to 10 character widths wide, one
can set @code{org-roam-node-display-template} as such:
@lisp
(setq org-roam-node-display-template "$@{title@}")
(setq org-roam-node-display-template
(concat "$@{title:*@} "
(propertize "$@{tags:10@}" 'face 'org-tag)))
@end lisp
@node Customizing Node Caching