markdown-it / markdown-it-container

Fenced container plugin for markdown-it markdown parser
MIT License
496 stars 74 forks source link

Could I get md file path(relative or absolute) in markdown-it-container render funciton #40

Closed lif3ng closed 3 years ago

lif3ng commented 3 years ago

I need write some content from other path readFileSync.

I see https://github.com/markdown-it/markdown-it/issues/511 . But I don't know when write the current path to env.

puzrin commented 3 years ago

Markdown is not about files. Your question is not relevant to this plugin.