dependabot[bot] on npm_and_yarn
Bump eslint from 8.15.0 to 8.16… (compare)
dependabot[bot] on npm_and_yarn
calculuschild on master
Bump @babel/plugin-transform-ru… Merge pull request #2183 from n… (compare)
dependabot[bot] on npm_and_yarn
calculuschild on master
Bump codemirror from 5.65.3 to … Merge pull request #2186 from n… (compare)
dependabot[bot] on npm_and_yarn
Bump codemirror from 5.65.3 to … (compare)
dependabot[bot] on npm_and_yarn
Bump @babel/plugin-transform-ru… (compare)
dependabot[bot] on npm_and_yarn
Bump @babel/plugin-transform-ru… (compare)
Hey, folks. I hope this is the right place to reach out to the Homebrewery dev team. I have a tool for building PDF books from Markdown sources, and I have built some Homebrewery-related extensions for it:
I would like to open source all of the above, but I wanted to check in for the Homebrewery-specific stuff and see if that's okay with you and/or if you need any specific form of attribution besides a link and general acknowledgment.
Thanks!
The one issue we face is that with user-generated content (Markdown) there is always a chance that someone comes up with a nasty input that results in some evil Regex and can tie up a lot of server memory or leave us open to certain attacks. We try to have all Markdown processing handled on the client end for that reason.
That said, if it's possible to run your tool in-browser, it might help with getting more uniform results across the different browsers (Chrome print-to-PDF is slightly different than Firefox, etc.), and possibly save users some confusion when they go to retrieve a PDF and instead of a download link they get the Print dialog.
@import (less) 'codemirror/theme/*';
in the codeEditor.less
to import all the files.
\build
but don't bother manually stitching them together. Instead just swap the css file in and out on the editor as needed like we do with the brew themes in https://github.com/naturalcrit/homebrewery/blob/732021f5a5ab190752eacf76a178c7b5bc256c07/client/homebrew/brewRenderer/brewRenderer.jsx#L202 .