Closed thdoan closed 2 months ago
export default defineConfig({
markdown: {
typographer: true,
},
});
https://github.com/markdown-it/markdown-it
some of those replacements you mentioned are not supported and should be done via third party markdown-it plugins if possible
Is your feature request related to a problem? Please describe.
It would be nice to an have option to enable automatic text replacements similar to Microsoft Word's AutoCorrect and AutoFormat features.
Describe the solution you'd like
These replacements would be especially helpful (except when inside a code block):
""
to“”
''
to‘’
--
to—
1/2
to½
(c)
to©
(r)
to®
(tm)
to™
+/-
to±
<=
to≤
>=
to≥
...
to…
->
to→
<-
to←
-->
to🡒
<--
to🡐
=>
to⇒
<=
to⇐
Describe alternatives you've considered
No response
Additional context
No response
Validations