Technically this makes me a Contributor according to GH ;) LOL j/k I do what I can when I can. :) <!-- If release PR, add ?template=release.md to the PR url to use the release PR template. If badging PR, add ?template=badges.md to the PR url to use the badges PR template. Otherwise, you are stating this PR fixes an issue that has been submitted; or, describes the issue or proposal under consideration and contains the project-related code to implement. --> **Marked version:** 0.3.19 <!-- The NPM version or commit hash having the issue --> **Markdown flavor:** Markdown.pl|CommonMark|GitHub Flavored Markdown|n/a GitHub Flavored Markdown *(Perhaps CommonMark down the line)* ## Description - Fixes the request at https://github.com/markedjs/marked/issues/1232#issuecomment-382747699 <!-- (if fixing a known issue; otherwise, describe issue using the following format) --> <!-- If no issue exists that you're aware of. The maintainers should be able to figure out if it's a duplicate. --> ## Expectation <!-- Describe the output you are expecting from marked --> GitHub Flavoured Markdown of course. ## Result <!-- Describe the output you received from marked --> Continued, awesome, markdown for > ~9437 users ... denoted. ## What was attempted <!-- Describe what code combination got you there --> A subtle, indirect, request for Usership addition in a comment. :) Hopefully I got the badge of honour correct. ## Contributor - [ ] Test(s) exist to ensure functionality and minimize regression (if no tests added, list tests covering this PR); or, - [ ] no tests required for this PR. - [ ] If submitting new feature, it has been documented in the appropriate places. ## Committer In most cases, this should be a different person than the contributor. - [ ] Draft GitHub release notes have been updated. - [ ] CI is green (no forced merge required). - [ ] Merge PR
Marked
- ⚡ built for speed
- ⬇️ low-level compiler for parsing markdown without caching or blocking for long periods of time
- ⚖️ light-weight while implementing all markdown features from the supported flavors & specifications
- 🌐 works in a browser, on a server, or from a command line interface (CLI)
Demo
Checkout the demo page to see marked in action ⛹️
Docs
Our documentation pages are also rendered using marked 💯
Installation
CLI: npm install -g marked
In-browser: npm install marked --save
Usage
CLI
$ marked -o hello.html
hello world
^D
$ cat hello.html
<p>hello world</p>
Browser
<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<title>Marked in the browser</title>
</head>
<body>
<div id="content"></div>
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
<script>
document.getElementById('content').innerHTML =
marked('# Marked in the browser\n\nRendered by **marked**.');
</script>
</body>
</html>
License
Copyright (c) 2011-2018, Christopher Jeffrey. (MIT License)
Description
Languages
JavaScript
35%
TypeScript
35%
HTML
30%