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
Links in Markdown files using the reference format are not currently rendered with the specified path prefix.
Steps to reproduce
For a project using markdown files as a data source and the gatsby-transformer-remark plugin, author a link in a markdown file using the reference style, e.g.:
This is [a link](/path/to/page).
This is [a reference][a reference]: /path/to/page
Build the project using the --prefix-paths option.
Expected result
The second link should be rendered with the path prefix, e.g.:
<p>This is <ahref="/prefix/path/to/page">a link</a></p><p>This is <ahref="/prefix/path/to/page">a reference</a></p>
Actual result
The first link will be rendered with the prefix and the second will not:
<p>This is <ahref="/prefix/path/to/page">a link</a></p><p>This is <ahref="/path/to/page">a reference</a></p>
Environment
npmPackages:
gatsby: next => 2.0.0-rc.25
gatsby-remark-autolink-headers: ^1.4.19 => 1.4.19
gatsby-remark-external-links: 0.0.4 => 0.0.4
gatsby-remark-prismjs: ^2.0.5 => 2.0.5
gatsby-source-filesystem: next => 2.0.1-rc.6
gatsby-transformer-remark: next => 2.1.1-rc.5
gatsby-transformer-yaml: ^1.5.18 => 1.5.18
The text was updated successfully, but these errors were encountered:
Description
Links in Markdown files using the reference format are not currently rendered with the specified path prefix.
Steps to reproduce
For a project using markdown files as a data source and the
gatsby-transformer-remark
plugin, author a link in a markdown file using the reference style, e.g.:Build the project using the
--prefix-paths
option.Expected result
The second link should be rendered with the path prefix, e.g.:
Actual result
The first link will be rendered with the prefix and the second will not:
Environment
The text was updated successfully, but these errors were encountered: