emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org-transclusion 1515c7a1e0 2/2: doc: fix examples' lin


From: ELPA Syncer
Subject: [elpa] externals/org-transclusion 1515c7a1e0 2/2: doc: fix examples' links
Date: Sat, 28 May 2022 10:57:43 -0400 (EDT)

branch: externals/org-transclusion
commit 1515c7a1e0765eaf1487eddeed2b95ee1fa75f28
Author: Noboru Ota <me@nobiot.com>
Commit: Noboru Ota <me@nobiot.com>

    doc: fix examples' links
---
 docs/org-transclusion-manual.org | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/docs/org-transclusion-manual.org b/docs/org-transclusion-manual.org
index 9fb3b67154..80445c35bf 100644
--- a/docs/org-transclusion-manual.org
+++ b/docs/org-transclusion-manual.org
@@ -277,21 +277,21 @@ You can combine =:only-contents= and =:exclude-elements= 
to control how you tran
 
 You can use the property in the following way.
 
-#+begin_example
+#+begin_src org
 #+transclude: [[file:path/to/file.org]] :expand-links
-#+end_example
+#+end_src
 
 As an exanmple if you have the content of this source file like this:
 
-#+begin_example
-This is a sample file link to [[[[file:test2.org]]][Test 2 file]].
-#+end_example
+#+begin_src org
+This is a sample file link to [[file:test2.org]].
+#+end_src
 
 For this source file, you will get the following transclusion with the link 
expanded [fn:1]
 
-#+begin_example
-This is a sample file link to 
[[[file:/home/user/org/test2.org]]][[file:test2.or][[Test 2 file]]]].
-#+end_example
+#+begin_src org
+This is a sample file link to [[file:/home/user/org/test2.org]].
+#+end_src
 
 [fn:1] "Expanding" in Emacs means converting a relative file name to an 
absolute one. Info node `(elisp) File-Name-Expansion'
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]