Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
364 additions
and
557 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,21 @@ | ||
const marked = require('./marked.js'); | ||
const Lexer = require('./Lexer.js'); | ||
const Parser = require('./Parser.js'); | ||
const Tokenizer = require('./Tokenizer.js'); | ||
const Renderer = require('./Renderer.js'); | ||
const TextRenderer = require('./TextRenderer.js'); | ||
const Slugger = require('./Slugger.js'); | ||
import marked from './marked.js'; | ||
import Lexer from './Lexer.js'; | ||
import Parser from './Parser.js'; | ||
|
||
module.exports = marked; | ||
module.exports.parse = marked; | ||
module.exports.Parser = Parser; | ||
module.exports.parser = Parser.parse; | ||
module.exports.Renderer = Renderer; | ||
module.exports.TextRenderer = TextRenderer; | ||
module.exports.Lexer = Lexer; | ||
module.exports.lexer = Lexer.lex; | ||
module.exports.Tokenizer = Tokenizer; | ||
module.exports.Slugger = Slugger; | ||
export default marked; | ||
export const options = marked.options; | ||
export const setOptions = marked.setOptions; | ||
export const getDefaults = marked.getDefaults; | ||
export const defaults = marked.defaults; | ||
export const use = marked.use; | ||
export const walkTokens = marked.walkTokens; | ||
export const parseInline = marked.parseInline; | ||
export const parse = marked; | ||
export const parser = Parser.parse; | ||
export const lexer = Lexer.lex; | ||
export { default as Lexer } from './Lexer.js'; | ||
export { default as Parser } from './Parser.js'; | ||
export { default as Tokenizer } from './Tokenizer.js'; | ||
export { default as Renderer } from './Renderer.js'; | ||
export { default as TextRenderer } from './TextRenderer.js'; | ||
export { default as Slugger } from './Slugger.js'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters