(docs) fix and add to link completion doc (ref #1413)

This commit is contained in:
Jethro Kuan
2021-03-06 11:17:01 +08:00
parent 121e969553
commit fb76f81423
2 changed files with 8 additions and 2 deletions

View File

@ -729,11 +729,14 @@ to variable ~company-backends~.
represents the cursor:
- ~[[|]]~: completes for a file title
- ~[[roam:]]~: completes for a file title
- ~[[roam:|]]~: completes for a file title
- ~[[*|]]~: completes for a headline within this file
- ~[[foo*|]]~: completes a headline within the file with title "foo"
- ~[[roam:foo*|]]~ completes a headline within the file with title "foo"
If you don't see the literal display of your links like the above examples,
call ~M-x org-toggle-link-display~
Completions account for the current input. For example, for ~[[f|]]~, the
completions (by default) only show for files with titles that start with "f".

View File

@ -1143,7 +1143,7 @@ represents the cursor:
@code{[[|]]}: completes for a file title
@item
@code{[[roam:]]}: completes for a file title
@code{[[roam:|]]}: completes for a file title
@item
@code{[[*|]]}: completes for a headline within this file
@ -1155,6 +1155,9 @@ represents the cursor:
@code{[[roam:foo*|]]} completes a headline within the file with title ``foo''
@end itemize
If you don't see the literal display of your links like the above examples,
call @code{M-x org-toggle-link-display}
Completions account for the current input. For example, for @code{[[f|]]}, the
completions (by default) only show for files with titles that start with ``f''.