markdown
markdown copied to clipboard
A super fast, highly extensible markdown parser for PHP
GitHub at least includes the ability to create header links. This for instance makes the #header-1 link to the first heading named Header, ie ``` heres the [link](#header-1]
Add `FootnoteTrait` that implements MarkdownExtra [footnotes](https://www.markdownguide.org/extended-syntax#footnotes), building on work done by @panrus. I've extended the test cases and fixed a few issues.
Hello, is it possible to get all headings from a string in an extension? I need this for autogenerating a table of contents. Thank you in advance
I want to use this library for a [changelog](https://keepachangelog.com/en/1.0.0/) parser. But while testing out the output structure of the parser, i found out, it singles out `h`'s in text while...
Is there a phpcs ruleset that should be used for this repo? I'm working on adding footnotes and nearly have a patch ready.
Excludes any currently-failing sniffs, and fixes a few instances of indenting being done with space rather than tab. Refs #181
This PR cleans up a minor issue in README.md that produces a warning from w3.org. See lines 130-136 in https://validator.w3.org/nu/?doc=https%3A%2F%2Fgithub.com%2Fcebe%2Fmarkdown The A elements don't really add anything and are not...
http://michelf.ca/projects/php-markdown/extra/ - [ ] inline HTML - [ ] Markdown Inside HTML Blocks - [x] Special Attributes - [x] Fenced Code Blocks - [x] tables - [ ] Definition Lists...
To create a footnote reference, add a caret and an identifier inside brackets ([^1]). Add the footnote using another caret and number inside brackets with a colon and text ([^1]:...