mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-14 02:06:29 +00:00
changed the default options of markdown lib to follow config
This commit is contained in:
@@ -23,7 +23,7 @@ class Markdown {
|
|||||||
constructor (options = {}) {
|
constructor (options = {}) {
|
||||||
const config = ConfigManager.get()
|
const config = ConfigManager.get()
|
||||||
const defaultOptions = {
|
const defaultOptions = {
|
||||||
typographer: true,
|
typographer: config.preview.smartQuotes,
|
||||||
linkify: true,
|
linkify: true,
|
||||||
html: true,
|
html: true,
|
||||||
xhtmlOut: true,
|
xhtmlOut: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user