mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-15 01:52:42 +03:00
GraphContent: fix tsc
This commit is contained in:
parent
fdc703b7f6
commit
b60e39545c
@ -23,14 +23,9 @@ const DISABLED_BLOCK_TOKENS = [
|
||||
|
||||
const DISABLED_INLINE_TOKENS = ['autoLink', 'url', 'email', 'reference', 'html'];
|
||||
|
||||
const tallParser = remark();
|
||||
const tallParser = remark().freeze();
|
||||
|
||||
export const parseTall = (text: string, settings: ParserSettings) => {
|
||||
const res = tallParser.parse(text);
|
||||
//const { inList, inBlock, inLink } = parser.Parser;
|
||||
|
||||
return res;
|
||||
}
|
||||
export const parseTall = (text: string) => tallParser.parse(text);
|
||||
|
||||
const wideParser = remark()
|
||||
.use([
|
||||
|
Loading…
Reference in New Issue
Block a user