Code Monkey home page Code Monkey logo

markdown-extended's People

Contributors

e-picas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

markdown-extended's Issues

Multi-bodies tables

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          ||

Table of contents error

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 ...

Inline maths is broken

Inline mathemathics are no more inline due to #0feaa35d5613085c352d4e2c430913a46376c80c

Rendering of the test page before:
maths-rendering-before

Rendering of the test page after:
maths-rendering-after

Maximum function nesting level of '100' reached, aborting!

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

Tables Not rendering properly

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.

Duplicate footnotes IDs

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>

screenshot_html_validator

B5f: link references with attributes fails

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"

Tables with caption on bottom

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.