You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm migrating a Jeykll project to a Vue-SSG project and a common pattern I encounter in the markdown in the Jeykll project is templated links. For example:
[Foo bar]({{ site.foo }}/bar)
Which gets replaced by the foo variable defined in a config file during build/dev time by Jekyll. However, this plugin does no transformation to links like this, and markdown-it outputs them raw. It would be nice if this could be supported by this plugin directly allowing dynamically rendered links/images.
Currently I accomplish this by using the before transformation to raw markdown to replace items at build/dev time, this solution does not work for dynamic variables but good enough for my usage:
Clear and concise description of the problem
I'm migrating a Jeykll project to a Vue-SSG project and a common pattern I encounter in the markdown in the Jeykll project is templated links. For example:
Which gets replaced by the
foo
variable defined in a config file during build/dev time by Jekyll. However, this plugin does no transformation to links like this, and markdown-it outputs them raw. It would be nice if this could be supported by this plugin directly allowing dynamically rendered links/images.Suggested solution
should be transformed to
Optional title:
should be transformed to
Alternative
Currently I accomplish this by using the before transformation to raw markdown to replace items at build/dev time, this solution does not work for dynamic variables but good enough for my usage:
Additional context
I'd love to help implement this feature! let me know what you think of this idea.
Validations
The text was updated successfully, but these errors were encountered: