1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-01 07:36:18 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/styleguide/Typography.tid

20 lines
1.2 KiB
Plaintext
Raw Normal View History

2014-12-26 19:31:18 +00:00
created: 20141226192500000
modified: 20150117152559000
2014-12-26 19:31:18 +00:00
title: Typography
2015-01-11 19:04:14 +00:00
Use the [[documentation macros|Documentation Macros]] to keep the text maintainable in the face of change.
2014-12-26 19:31:18 +00:00
2015-01-11 19:04:14 +00:00
Be wary of arbitrarily applying raw bold or italic markup in a sentence. If there's a suitable macro, use that instead. If there isn't a suitable macro, write one or request one.
2014-12-26 19:31:18 +00:00
Use simple backticks (<code>&#96;...&#96;</code>) for fragments of WikiText, but not for the names of things like fields and widgets. These have their own macros.
2014-12-26 19:31:18 +00:00
2015-01-11 19:04:14 +00:00
To keep things clean and simple, quotation marks and apostrophes should be straight `'`, not curly ``, and the ellipsis should be three separate dots `...` rather than `…`.
2014-12-26 19:31:18 +00:00
2015-01-11 19:04:14 +00:00
Use `"` as the primary quotation mark, reserving `'` for the rare case of a nested quotation.
2014-12-26 19:31:18 +00:00
Avoid using a single hyphen `-` as sentence punctuation. Instead, use a double hyphen -- which ~TiddlyWiki renders as an en-dash -- with a space on either side.
Items in lists and tables should only end with a full stop (period in US English) if they are complete sentences. They should have no trailing punctuation otherwise.
It is very rarely necessary to use an exclamation mark in professional documentation.