[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/07: doc: Syntax highlighting now handles @var within @lisp.
From: |
guix-commits |
Subject: |
02/07: doc: Syntax highlighting now handles @var within @lisp. |
Date: |
Fri, 4 Sep 2020 05:30:07 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit fe409700d85a8de0fadb9cdd052434a4e07b4267
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Fri Sep 4 10:32:04 2020 +0200
doc: Syntax highlighting now handles @var within @lisp.
* doc/build.scm (syntax-highlighted-html)[build](concatenate-pieces):
Handle @var{name}.
---
doc/build.scm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/doc/build.scm b/doc/build.scm
index 7256fb9..97f4ab6 100644
--- a/doc/build.scm
+++ b/doc/build.scm
@@ -310,6 +310,8 @@ its <pre class=\"lisp\"> blocks (as produced by 'makeinfo
--html')."
(loop rest (cons (entity->string entity) strings)))
((('span _ lst ...) . rest) ;for <span class="roman">
(loop (append lst rest) strings))
+ ((('var name) . rest) ;for @var{name} within @lisp
+ (loop rest (cons name strings))) ;XXX: losing formatting
(something
(pk 'unsupported-code-snippet something)
(primitive-exit 1)))))
- branch master updated (eb33280 -> 3f663e5), guix-commits, 2020/09/04
- 01/07: doc: Balance parens in R Shiny example., guix-commits, 2020/09/04
- 03/07: doc: Document 'file-system-label' and 'uuid'., guix-commits, 2020/09/04
- 02/07: doc: Syntax highlighting now handles @var within @lisp.,
guix-commits <=
- 04/07: gnu: darktable: Update to 3.2.1., guix-commits, 2020/09/04
- 06/07: .guix-authorizations: Add planglois to the committers., guix-commits, 2020/09/04
- 05/07: gnu: darktable: Add dependency on libavif, ocl-icd., guix-commits, 2020/09/04
- 07/07: gnu: kdenlive: Add ffmpeg to input list, guix-commits, 2020/09/04