emacs-wiki-discuss
[Top][All Lists]
Advanced

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

Re: [emacs-wiki-discuss] Re: inlining


From: Joe Corneli
Subject: Re: [emacs-wiki-discuss] Re: inlining
Date: Sun, 11 Apr 2004 14:04:48 -0500

   emacs-wiki--dev--patch-8 has the <include> tag. I tested it with nil
   markup and with emacs-wiki markup. Seems to work. 

   Will someone please confirm it so that we can merge it into
   stable? 

It works nicely for me.

   Also, the documentation will need to be updated. =)

diff -c /Users/arided/site-lisp/emacs-wiki.el 
/Users/arided/site-lisp/emacs-wiki-patched.el
*** /Users/arided/site-lisp/emacs-wiki.el     Sun Apr 11 13:28:13 2004
--- /Users/arided/site-lisp/emacs-wiki-patched.el Sun Apr 11 14:00:08 2004
***************
*** 1507,1512 ****
--- 1507,1522 ----
     HTML friendly text (i.e., <> turns into &lt;&gt;), and placed in a
     <pre> block.  In this case, line numbering is not available.
  
+  include
+    <include file=\"...\"> includes the named file at the current location
+    during publishing.  Files are marked up according to the emacs-wiki
+    rules except no header or footer is inserted. If you want the
+    file to be included as plain text, either add <example>..</example>
+    inside the source file or use <include file=\"...\" markup=\"nil\">.
+    The markup attribute controls how this section is marked up. If
+    non-nil, it should be the name of a function to call after inserting
+    the file with the buffer narrowed to the section inserted.
+ 
   bookmarks
     Insert bookmarks at the location of the tag from the given
     bookmarks file.  Required attribute \"file\" specifies which file




reply via email to

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