Avoid export default
This commit is contained in:
parent
1c60a49c96
commit
28bfb45426
18 changed files with 26 additions and 28 deletions
|
|
@ -28,7 +28,7 @@ const newline = P((input, i) => {
|
|||
}
|
||||
});
|
||||
|
||||
const mfm = P.createLanguage({
|
||||
export const mfmLanguage = P.createLanguage({
|
||||
root: r => P.alt(
|
||||
r.big,
|
||||
r.small,
|
||||
|
|
@ -413,5 +413,3 @@ const mfm = P.createLanguage({
|
|||
.map(x => createLeaf('url', { url: x })),
|
||||
//#endregion
|
||||
});
|
||||
|
||||
export default mfm;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue