Smart Dashesare ignored in YAML/code/math block or in source code mode.
You can find the option
Smart Quotes from menu bar or from preferences panel.
When it is enabled, Typora will convert
" to curly quotes. For example, if you input:
"It's a 'word' in a quoted sentence."
it will become:
“It’s a ‘word’ in a quoted sentence.”
On Windows/Linux version, you could find more quote pair patterns in Preferences Panel, like “«abc» “, etc.
On macOS version, you could set quote patterns in
System Preferences →
Text. If it is changed, Typora will need a restart to apply it.
You can find the option
Smart Dashes from menu bar or from preferences panel. When it is enabled, Typora will convert
en dash and
em dash. And
... will be converted to ellipse (
Note: On macOS, if “Convert on Input” is choose, both
---will be converted to
em dash, and for
en dash, please
-to input it. This seems to be a macOS spec which Typora also follows on macOS.
You could use
\- to escape quotes and dashes to prevent them from being converted.
Those options controls how punctuations are converted.
When Convert on Input is enabled, quotes and dashes are converted immediately when user is typing, and converted one will be saved in the Markdown source code. As example, if smart dashes are enabled, and after user input
..., he will get
… in both edit/preview tab and source code. And user can cancel the improper convert by
When Convert on Rendering is enabled, typing in ASCII quotes and dashes will save the original ASCII code on source mode, but in edit/preview tab, Typora will render them as curly quotes or unicode dashes.
Both ignore convertion when user input in YAML/code/math blocks or in source code mode.
When smart dashes are enabled for “Convert on Input”, if user input
<!-- comment --> it will become
<!— comments —> since
-- are converted.
To prevent such situation, Typora introduce this option. When it is enabled, Typora will remap unicode alternatives of markdown syntax as their ASCII one, e.g:
|` — `||` — ` (horizontal line)|
It also helps if your IME (Input Method Engine) cannot input ASCII punctuations directly.
When Convert on Input is enabled, this option will also be enabled automatically.
Typora does not support further text replacement rules (e.g:
©) out of the box. To do this:
Text. And enable “Text Replacement” in Typora’s menu. Then Typora can use your text replacement rules.