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 beging 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. If example, if smart dashes are enabled, and after user input
..., he will got
… in both edit/preview view and source code. And user can cancel the inproper convert by
When Convert on Rendering is enabled, when user input ASCII quotes and dashes, the original ASCII will be saved in the source mode, but in edit/preview view, Typora will render them as curly quotes or unicode dashes.
The both ignore the 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 sutuation, 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.