mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-15 10:02:47 +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 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([
|
||||||
|
Loading…
Reference in New Issue
Block a user