e-picas / markdown-extended Goto Github PK
View Code? Open in Web Editor NEWA PHP parser for the Markdown Extended syntax
Home Page: http://aboutmde.org/
License: Other
A PHP parser for the Markdown Extended syntax
Home Page: http://aboutmde.org/
License: Other
Make an 'RTF' output format to generate basic documents.
Tables with multi-bodies are not parsed ; only the first body is parsed.
Example (from the demo/MD_syntax.md
):
| | Grouping ||
First Header | Second Header | Third header |
------------- | ------------: | :----------: |
Content Cell | *Long Cell* ||
Content Cell | **Cell** | **Cell** |
New section | More | Data |
And more | And more ||
An interesting feature taken from michelf/php-markdown@6ad3ff9 is the ability to use a <tel:XXXX>
to generate a phone link.
MDE parser seems not able to build a real table of contents when using both ATX and Sextet titles notations. The ATX items are always listed AFTER the Sextet ones, even if they must be imbricated ...
NOTE: the origin of this bug is the way to parse each notation. They are parsed seperated (Sextet first) so the list of headers can not be construct with the real iteration but with the one for each notation one after the other ...
Hi,
When I try to convert the README.md file of esrodrira/appcoachmanager I get the error:
Maximum function nesting level of '100' reached, aborting!
In /src/MarkdownExtended/Util/Helper.php on line 217
The original file is:
https://raw.githubusercontent.com/esrodrira/appcoachmanager/master/README.md
I install this library with git, and I'm in dev brach. The las commit that I see is:
commit e7bce23
Author: picas [email protected]
Date: Mon Feb 20 22:22:55 2017 +0100
strip the Nightly build of PHP for validations
Thanks
It seems that orderd lists using alphabetical markers notation a.
are not parsed as list items.
i recently downloaded this and started using this in php application to render markdowns, rest all works fine except tables, my tables structure is like below
| Term | Explanation |
| ---- | ---------- |
| Lorem Ipsum | Testing value on the right side not showing as table |
this shows like this only on rendering
| Term | Explanation |
but not like actual table.
In case of a duplicate usage of a single footnote (the same note is called more than once in a document), the anchor of the generated link actually goes to the good related footnote but has the same ID as the others ... this creates an HTML error of duplicate ID (cf. attached screenshot).
<p>This is another regular paragraph, with another call of footnote 2
<sup id="fnref:2"><a rel="footnote" class="footnote"
title="See footnote 6" href="#fn:2">6</a>
</sup>.</p>
The attributes add to a link reference failes when they are on the same line but works if they are on a second line. In the first case, the reference is not even understood as a link.
This DOES NOT work:
[dolor sit amet3]: http://aboutmde.org/loremipsum/lorem-ipsum.html "Consectetur adipiscing" attribute1=value attribute2="value1 value2"
While this works:
[dolor sit amet3]: http://aboutmde.org/loremipsum/lorem-ipsum.html "Consectetur adipiscing"
attribute1=value attribute2="value1 value2"
The tables parsing fails when the caption is at table's bottom (the whole table is not parsed).
Maybe the REGEXP for tables construction has to be modified.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.