Mauro Bieg

Results 271 comments of Mauro Bieg

That's due to CRA (create-react-app aka [react-scripts](https://github.com/mb21/panwriter/blob/master/package.json#L158)) being deprecated, see https://react.dev/blog/2025/02/14/sunsetting-create-react-app. But I haven't evaluated what to move to. For PanWriter, we really don't need server-side-rendering, much of a router...

Can you provide a minimal reproducible example of a markdown document that doesn't work?

How do you generate the HTML? With `File` -> `Save as` or `Export` ? > they are overwritten by the default CSS (there are two sections in the HTML) overwritten...

Okay, now I understand. > which different browsers probably interpret differently. No, nowadays all browsers behave exactly the same in regards to such basic things. > In Firefox, the links...

Or actually better, add a `default.yaml` file in the PanWriter User Data Directory, then you can keep the format and it will be previewed correctly. See the [PanWriter Manaul](https://panwriter.com/MANUAL.html#default-css-and-yaml)

> Hmm, I have just noticed that only .md is available for selection under 'Save as'. Should .html also be available here? No, `.md` is just saving the exact text...

> converting Markdown to HTML then see https://github.com/jgm/pandoc/issues/2620#issuecomment-169099590

Is this still not even under consideration? Nowadays, pretty much every JS-runtime except Node supports this: see https://blog.val.town/blog/the-api-we-forgot-to-name/ or https://marvinh.dev/blog/modern-way-to-write-javascript-servers/

Thanks! Seems `curl ... --data-urlencode 'injectPageScript=document.addEventListener("mutationIdle", window.simulateScroll);'` should indeed work for this, I'll give it a try. Feel free to close this issue then.

When the docx reader extracts the image from the docx file, it could also just crop it right there... (not sure whether we have an image manipulation lib already as...