1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-16 13:10:29 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/wikitext/Hard Linebreaks in WikiText.tid

18 lines
655 B
Plaintext
Raw Normal View History

2013-12-14 17:05:57 +00:00
created: 20131214165710101
modified: 20131214170106553
tags: wikitext
title: Hard Linebreaks in WikiText
type: text/vnd.tiddlywiki
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
"""'>>