Skip to content

shortcodes kept in resultant markdown - is it possible? #159

@cp-bwg

Description

@cp-bwg

Hi there - I am using this to generate md (ultimately mdx) files for my posts for use in migrating over to astro. I want to keep the shortcodes in the content in their place in the markdown. I know that some plugins give some nasty content that is hard to parse, but I have my own shortcodes that I would like to retain as acorn notation, or the actual full shortcode output into the resultant markdown, so we can post process to map those into components.

for example, when this is found in the content:

<!-- wp:shortcode -->
[sc name="usage-based-pricing-video"]
<!-- /wp:shortcode -->

we'd like

[sc name="usage-based-pricing-video"]

to remain in the markdown your code generates.

Possible with flags or params?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions