1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-14 13:54:50 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/wikitext/Hard Linebreaks in WikiText.tid

19 lines
680 B
Plaintext
Raw Normal View History

2013-12-14 17:05:57 +00:00
created: 20131214165710101
modified: 20131214170106553
2014-09-11 08:15:58 +00:00
tags: WikiText
2013-12-14 17:05:57 +00:00
title: Hard Linebreaks in WikiText
type: text/vnd.tiddlywiki
2014-09-11 08:15:58 +00:00
caption: Hard Linebreaks
2013-12-14 17:05:57 +00:00
The usual handling of [[paragraphs in wikitext|Paragraphs in WikiText]] causes single line breaks to be ignored, and double linebreaks to be interpreted as the end of a paragraph.
This behaviour isn't convenient when dealing with material that incorporates hard linebreaks - for instance, poetry. You can mark a block of content as containing hard line breaks like this:
<<wikitext-example src:'"""
This is a line
and this is a new line
while this is yet another line
and this is the final one
apart from this one
"""'>>