GraphContent: fix tsc

This commit is contained in:
Liam Fitzgerald 2021-05-18 12:10:58 +10:00
parent fdc703b7f6
commit b60e39545c
No known key found for this signature in database
GPG Key ID: D390E12C61D1CFFB

View File

@ -23,14 +23,9 @@ const DISABLED_BLOCK_TOKENS = [
const DISABLED_INLINE_TOKENS = ['autoLink', 'url', 'email', 'reference', 'html']; const DISABLED_INLINE_TOKENS = ['autoLink', 'url', 'email', 'reference', 'html'];
const tallParser = remark(); const tallParser = remark().freeze();
export const parseTall = (text: string, settings: ParserSettings) => { export const parseTall = (text: string) => tallParser.parse(text);
const res = tallParser.parse(text);
//const { inList, inBlock, inLink } = parser.Parser;
return res;
}
const wideParser = remark() const wideParser = remark()
.use([ .use([