mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-28 17:20:47 +08:00
@@ -241,7 +241,8 @@ blockToTexinfo HorizontalRule =
|
||||
text "@end iftex" $$
|
||||
text "@ifnottex" $$
|
||||
text (replicate 72 '-') $$
|
||||
text "@end ifnottex"
|
||||
text "@end ifnottex" $$
|
||||
blankline
|
||||
|
||||
blockToTexinfo (Header 0 _ lst) = do
|
||||
txt <- if null lst
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
```
|
||||
% pandoc -t texinfo
|
||||
Before
|
||||
|
||||
----
|
||||
|
||||
After
|
||||
^D
|
||||
@node Top
|
||||
@top Top
|
||||
|
||||
Before
|
||||
|
||||
@iftex
|
||||
@bigskip@hrule@bigskip
|
||||
@end iftex
|
||||
@ifnottex
|
||||
------------------------------------------------------------------------
|
||||
@end ifnottex
|
||||
|
||||
After
|
||||
|
||||
```
|
||||
Reference in New Issue
Block a user