From 8671bc5a1be38f6555e34d7ccc542ebbe91f69fd Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Sat, 5 Dec 2009 05:33:24 +0000 Subject: Markdown reader: Treat a backslash followed by a newline as hard linebreak. Resolves Issue #154. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1646 788f1e2b-df1e-0410-8736-df70ead52e1b --- README | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'README') diff --git a/README b/README index 10dc66cc5..c1fd7cbde 100644 --- a/README +++ b/README @@ -463,7 +463,14 @@ which allows only the following characters to be backslash-escaped: \`*_{}[]()>#+-.! A backslash-escaped space is parsed as a nonbreaking space. It will -appear in TeX output as '~' and in HTML and XML as '\ ' or '\ '. +appear in TeX output as '`~`' and in HTML and XML as '`\ `' or +'`\ `'. + +A backslash-escaped newline (i.e. a backslash occurring at the end of +a line) is parsed as a hard line break. It will appear in TeX output as +'`\\`' and in HTML as '`
`'. This is a nice alternative to +markdown's "invisible" way of indicating hard line breaks using +two trailing spaces on a line. Subscripts and superscripts --------------------------- -- cgit v1.2.3