histoire icon indicating copy to clipboard operation
histoire copied to clipboard

Markdown docs throw error in terminal on change + save

Open awacode21 opened this issue 3 years ago • 2 comments
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:

Bildschirmfoto 2022-07-27 um 16 32 26

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

awacode21 avatar Jul 27 '22 14:07 awacode21

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 :(

Akryum avatar Aug 02 '22 22:08 Akryum

Let's see if the update to Vite 3 will change things

Akryum avatar Aug 02 '22 22:08 Akryum