{"schemaVersion":1,"id":"marked","name":"Marked","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/marked/","officialUrl":"https://github.com/markedjs/marked","isCatalog":false,"description":"A Markdown parser for JavaScript: it converts text to HTML for content applications; output sanitization is configured separately.","tasks":["Display Markdown content in a web interface","Convert Markdown to HTML and connect separate output sanitization"],"categoryIds":["frontend"],"subcategoryIds":["frontend.utilities"],"tags":["Marked","web","Development"],"aliases":["markedjs/marked","marked","markdown-parser","markedjs"],"platforms":[],"stack":[],"compatibility":null,"pricing":"free","freeUsage":"Code and local use under MIT.","paidUsage":"Computing resources, self-hosting, and external services are paid for separately if used.","license":"Marked code is MIT with applicable copyright/permission notices. The root LICENSE also contains separate Markdown/John Gruber notices with three BSD-style conditions, including a prohibition on endorsement.","selectionGuide":{"purpose":"Display Markdown content in a web interface","chooseWhen":["Display Markdown content in a web interface","Convert Markdown to HTML and connect separate output sanitization"],"considerInstead":[],"requirements":["Before inserting output from untrusted Markdown, sanitize the HTML; use a supported Node/browser version."],"limitations":["Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.","Terms of use: Marked code is MIT with applicable copyright/permission notices. The root LICENSE also contains separate Markdown/John Gruber notices with three BSD-style conditions, including a prohibition on endorsement.","Converting Markdown alone does not make HTML safe; EOL Node versions may stop working.","The root LICENSE includes MIT Marked as well as separate Markdown/John Gruber redistribution/endorsement notices."],"faq":[{"question":"What can you use for free in Marked?","answer":"Code and local use under MIT."},{"question":"What additional costs might arise with Marked?","answer":"Computing resources, self-hosting, and external services are paid for separately if used."},{"question":"What terms of use matter for Marked?","answer":"Marked code is MIT with applicable copyright/permission notices. The root LICENSE also contains separate Markdown/John Gruber notices with three BSD-style conditions, including a prohibition on endorsement."},{"question":"How do you get started with Marked?","answer":"Define acceptable Markdown input and rendering options. Convert Markdown to HTML and connect separate output sanitization. Add real data and error handling; check the production build."},{"question":"Why must Marked's HTML be sanitized separately?","answer":"Marked converts Markdown into HTML and runs in browsers, servers, and the CLI. It does not sanitize output: the README recommends applying a separate sanitization library to the result. Extensions customize parsing but do not replace this protection. Node support is limited to current/LTS releases, and browser support to Baseline Widely Available."}],"related":[],"sources":["https://github.com/markedjs/marked","https://raw.githubusercontent.com/markedjs/marked/HEAD/README.md","https://raw.githubusercontent.com/markedjs/marked/HEAD/LICENSE","https://www.open-source-tools.com/"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"Display Markdown content in a web interface.","inputs":["Web application source code and the intended workflow.","The project's framework and runtime version."],"steps":["Define acceptable Markdown input and rendering options.","Convert Markdown to HTML and connect separate output sanitization.","Add real data and error handling; check the production build."],"checks":["The workflow works after a page refresh and with invalid data.","The bundle, server rendering, and supported browsers suit the project."]},"sources":["https://github.com/markedjs/marked","https://raw.githubusercontent.com/markedjs/marked/HEAD/README.md","https://raw.githubusercontent.com/markedjs/marked/HEAD/LICENSE","https://www.open-source-tools.com/"],"checkedAt":"2026-10-06","reviewScope":"The purpose, current repository license, and separate terms for code, services, and models have been reviewed. The product was not run, and no security audit was performed.","relatedIds":[],"dataVersion":"cbbe7123b47a5ae80983","type":"Web framework / library","kind":"library","pricingNote":"Code and local use under MIT. Computing resources, self-hosting, and external services are paid for separately if used.","notes":null,"labeledSources":[{"url":"https://github.com/markedjs/marked","label":"Official source"},{"url":"https://raw.githubusercontent.com/markedjs/marked/HEAD/README.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/markedjs/marked/HEAD/LICENSE","label":"License"},{"url":"https://www.open-source-tools.com/","label":"Catalog / discovery source"}],"licenseGuides":[{"id":"mit","title":"MIT — permissive license","scope":"The Marked implementation, copyright MarkedJS and Christopher Jeffrey.","summary":"You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.","url":"https://opensource.org/license/mit"},{"id":"bsd-3","title":"BSD3-Clause — notices and no implied endorsement","scope":"Markdown/John Gruber notices separately included in the root LICENSE.","summary":"Use, modification, and distribution are permitted while retaining the copyright, conditions, and warranty disclaimer. The rights holder's and contributors' names cannot be used to promote a derivative product without permission. These are code terms, not a promise of free hosting.","url":"https://opensource.org/license/bsd-3-clause"}],"entryIds":[],"composition":null}