storybook-readme
storybook-readme copied to clipboard
Relative paths in readme files.
We are using storybook-readme to display each component's github readme within storybook... some of the readmes have links with relative paths to other github pages and these links are broken when the readme is rendered in storybook.
I wanted to find out if there is a recommended way of dealing with this?... and if not, whether there are any plans to support this? Cheers.
I think is is possible to replace relative links with absolute link (baseUrl + relative link).
The problem is -- how to set baseUrl?
I would be happy for any help with this issue.
This feature could be implement at services/marked.js. (service that transforms raw markdown to html with marked.js).
Here is baseUrl option at its docs - prefix url for any relative link. The only issue - find way how setup baseUrl at storybook and pass it to marked.
I'm having problem with this as well. I wan't to add an image with relative URL to my README.md file but it does not work.

Is there any plans for solving this?
same problem here how I can display an image in the readme?
Same problem here. Is this plugin issue or is it the Storybook issue?