Skip to content

Add include-html directive #281

Description

@mondeja

As Markdown is a subset of HTML, it's very common to face a situation in which Markdown needs to include HTML. The main problem trying to do so is that, contrary to Markdown, HTML is a language that doesn't depend on formatting.

This leads to really unexpected situations. For example, if you want to include an HTML snippet into a Markdown table cell, the newlines of the Markdown file must be removed or the inclusion will break the table. See jekyll/jekyll#9368 as an example in Jekyll.

So adding a include-html directive could solve that by removing characters that can be ignored in HTML in the inclusion.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions