histoire
histoire copied to clipboard
Markdown docs throw error in terminal on change + save
trafficstars
Describe the bug
When using the markdown documentation as described here: https://histoire.dev/guide/vue3/docs.html#markdown it shows the markdown we would expect under the docs tab, but when changing/enhancing the markdown and then saving the file so that view updates to latest changes, the terminal throws errors on unexpected characters:
Reproduction
https://stackblitz.com/edit/histoire-vue3-markdown-docs-error?file=src%2FBaseButton.story.vue
System Info
System:
OS: macOS 12.1
CPU: (8) x64 Apple M1
Memory: 22.74 MB / 16.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 16.13.1 - ~/.nvm/versions/node/v16.13.1/bin/node
npm: 8.1.2 - ~/.nvm/versions/node/v16.13.1/bin/npm
Browsers:
Chrome: 103.0.5060.134
Firefox: 102.0.1
Safari: 15.2
Used Package Manager
npm
Validations
- [X] Follow our Code of Conduct
- [X] Read the Contributing Guidelines.
- [X] Read the docs.
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [X] Check that this is a concrete bug. For Q&A open a GitHub Discussion.
- [X] The provided reproduction is a minimal reproducible example of the bug.
I don't really reproduce the same issue, on my side it doesn't throw any error but doesn't send the HMR update when changing the custom block :(
Let's see if the update to Vite 3 will change things