Skip to content

[feature request] add 'inline' propΒ #22

Closed
@mvanroon

Description

@mvanroon

I'd like to be able to only parse inline tags, like <em>, <strong> and <a>.
Single line rendering, without paragraph wrap, so that:

<h2><vue-markdown>Hello. *Is it me you're looking for?*</vue-markdown></h2>

Does not render as (current situation):
<h2>Hello. <div><p><em>Is it me you're looking for?</em></p></div></h2>

But instead renders like this:
<h2>Hello. <em>Is it me you're looking for?</em></h2>

See: https://markdown-it.github.io/markdown-it/#MarkdownIt.renderInline

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions