From d247e9f72e9c9a86cb0053cffc607b5f84f8b3a4 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 22 Sep 2019 10:57:48 -0700 Subject: Make `plain` output plainer. Previously we used the following Project Gutenberg conventions for plain output: - extra space before and after level 1 and 2 headings - all-caps for strong emphasis `LIKE THIS` - underscores surrounding regular emphasis `_like this_` This commit makes `plain` output plainer. Strong and Emph inlines are rendered without special formatting. Headings are also rendered without special formatting, and with only one blank line following. To restore the former behavior, use `-t plain+gutenberg`. API change: Add `Ext_gutenberg` constructor to `Extension`. See #5741. --- test/command/4529.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/command') diff --git a/test/command/4529.md b/test/command/4529.md index 4a2125b9c..4242a65c2 100644 --- a/test/command/4529.md +++ b/test/command/4529.md @@ -1,5 +1,5 @@ ``` -% pandoc -f latex -t plain +% pandoc -f latex -t plain+gutenberg \chapter{First chapter}\label{sec:chp1} The next chapter is Chapter~\ref{sec:chp2}. \section{First section}\label{sec:chp1sec1} -- cgit v1.2.3