mirror of
https://github.com/wassname/side-by-side.git
synced 2026-09-22 13:40:40 +08:00
Smartypants support, temporary branch switch
This commit is contained in:
@@ -52,6 +52,9 @@ angular.module("sideBySide").factory("markdownReader", () ->
|
||||
})
|
||||
return content
|
||||
|
||||
marked.setOptions({
|
||||
smartypants: true
|
||||
})
|
||||
lexed = marked.lexer(source)
|
||||
meta = lexed.shift()
|
||||
meta = readMeta(meta.text, new marked.InlineLexer(lexed.links))
|
||||
|
||||
Reference in New Issue
Block a user