Skip to content

Include inputPath in environment options passed to markdown #1510

@GeorgeNance

Description

@GeorgeNance

Is your feature request related to a problem? Please describe.
Yes, It would be nice to have context to which file is being rendered when I am writing custom plugins for my markdown.

I am trying to process images that are in the same folder as a markdown file.

Describe the solution you'd like

Simply passing the inputPath to mdlib.render in Markdown.js

Describe alternatives you've considered
There is no easy alternate at this point.

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions