Skip to content

Feature Request: Pre-render hook #13

Closed
@JohnArrowwood

Description

@JohnArrowwood

I need to be able to hook into the preview of the contents, and interpolate values before the Markdown is interpreted.

For example, if the contents looks something like this:

This is my little document, and {{variable}} 
should be replaced with the contents of `variable`

Then I want the value of {{variable}} to be interpolated to <span class=variable-value>theValue</span> before the Markdown processing begins.

I'd like to request the ability to specify [preRender]="myFilter" to have my function called on the value of the markdown text prior to passing it to the markdown renderer.

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