forked from shadowfacts/shadowfacts.net
Use Markdown typographer (auto-generates smart quotes)
This commit is contained in:
parent
8a490a362c
commit
2fe034aef5
|
@ -3,7 +3,8 @@ import * as util from "./util";
|
||||||
|
|
||||||
const md = new MarkdownIt({
|
const md = new MarkdownIt({
|
||||||
highlight: util.highlight,
|
highlight: util.highlight,
|
||||||
html: true
|
html: true,
|
||||||
|
typographer: true
|
||||||
});
|
});
|
||||||
|
|
||||||
export function render(text: string): string {
|
export function render(text: string): string {
|
||||||
|
|
Loading…
Reference in New Issue