|
|
@@ -34,6 +34,7 @@ const mergeOptions = (options?: IPreviewOptions) => {
|
|
|
codeBlockPreview: true,
|
|
|
fixTermTypo: false,
|
|
|
footnotes: true,
|
|
|
+ linkBase: "",
|
|
|
listMarker: false,
|
|
|
paragraphBeginningSpace: false,
|
|
|
sanitize: true,
|
|
|
@@ -79,6 +80,7 @@ export const md2html = (mdText: string, options?: IPreviewOptions) => {
|
|
|
headingAnchor: mergedOptions.anchor !== 0,
|
|
|
inlineMathDigit: mergedOptions.math.inlineDigit,
|
|
|
lazyLoadImage: mergedOptions.lazyLoadImage,
|
|
|
+ linkBase: mergedOptions.markdown.linkBase,
|
|
|
listMarker: mergedOptions.markdown.listMarker,
|
|
|
paragraphBeginningSpace: mergedOptions.markdown.paragraphBeginningSpace,
|
|
|
sanitize: mergedOptions.markdown.sanitize,
|