Ben W
Published on 30 Jan 2020
1 min read
More Formatting Tests
0
0
The HistoryChip site (circa Jan 2020) has limited support for formatting: the author can embed a limited set of html tags into a story while editing and when the story is displayed, the formatting will take effect. Only certain tags are supported however: image references and hyperlinks are examples of tags that are not supported.
Tags are composed of a '<' character, a formatting tag, and a '>' character with no spaces allowed between the angle brackets and the formatting tag. Most of the tags require starting and ending tags: the line and paragraph break tags do not.
The <b>...</b> tag-pair produces bold text.
The <i>...</i> tag-pair produces italic text.
We can nest them to get bold and bold italic text.
The <p> and <br> tags create paragraph and line breaks.
The <pre>...</pre> tag-pair produces pre-formatted text which preserves spacing:
This is multiline text with some extra spaces.
N.B. no markup is allowed inside a block of pre-formatted text.
Please sign-in to like or leave a comment.
Sign InNo comments yet. Be the first to comment!