fuel: help subsections now work again

db4
Phil Dawes 2009-10-14 19:04:16 +01:00
parent d9fa247b84
commit 4ba2c5edaf
1 changed files with 8 additions and 0 deletions

View File

@ -134,6 +134,7 @@
($strong . fuel-markup--strong)
($subheading . fuel-markup--subheading)
($subsection . fuel-markup--subsection)
($subsections . fuel-markup--subsections)
($synopsis . fuel-markup--synopsis)
($syntax . fuel-markup--syntax)
($table . fuel-markup--table)
@ -224,6 +225,13 @@
(fuel-markup--link (cons '$link (cdr e)))
(fuel-markup--maybe-nl))
(defun fuel-markup--subsections (e)
(dolist (link (cdr e))
(fuel-markup--insert-nl-if-nb)
(insert " - ")
(fuel-markup--link (list '$link link))
(fuel-markup--maybe-nl)))
(defun fuel-markup--vocab-subsection (e)
(fuel-markup--insert-nl-if-nb)
(insert " - ")