Coder Social home page Coder Social logo

Comments (1)

gettalong avatar gettalong commented on August 30, 2024

ad 1) This is to be expected. HTML <div> elements can contain block level elements and are therefore parsed with the block parser if parse_html_blocks=true. However, a <table> and a <tr> element can contain neither block level elements nor span level elements and therefore they are parsed as raw HTML element and once the HTML parser is in this mode, only an explicit markdown="..." attribute can change it.

ad 2) If the content of an HTML element is parsed with the block level parser, everything after the start tag is considered the first line. Since this means the block level parser sees **Item**</td>, it parses this as paragraph element and tries to find the closing tag on one of the next lines. This is described in the description of HTML Blocks in the kramdown syntax documentation.

from kramdown.

Related Issues (20)

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.