Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(github): improve formatting of issue template spoilers (#311)
- I originally made the spoilers and while they work (and I would say improve readability a good bit), there's also some issues with them - I've used them a ton more now so know how to workaround most of the issues with them now - fix: use HTML `code` tag inside of `summary` tag, can't use backticks - was mixing MD and HTML before, and this doesn't always work and didn't work on GitHub, they just had backticks - fix: don't duplicate the file name in the heading, just make the `summary` have a heading inside it instead - use an `h4` same as the `####` that it was before - feat: add syntax highlighting by adding code blocks for each code snippet - js for rollup.config.js, json5 for tsconfig (it has comments, trailing commas, etc (actually a custom parser, but json5 is close enough)), json for package.json, and text for verbose logs - also, a lot of people sometimes just paste the code with no code block and it formats terribly, so this should help defer that (as well as any potential issues that can crop up with unindented blocks) - the `envinfo` text code block seems to be working well, so hopefully this will improve issues too
- Loading branch information