Fix syntax highlighting in rendered spec (#1008)
* Configure syntax highlighter to use CSS classes the inline `style` attributes cause CSP errors (and don't work). Instead, we can use proper CSS classes. * Configure response headers for Hugo dev server make the dev server serve response headers which match the live site, for better testing.
This commit is contained in:
parent
5a54ca66d1
commit
d38663f65d
4 changed files with 113 additions and 1 deletions
2
.github/_typos.toml
vendored
2
.github/_typos.toml
vendored
|
@ -1,5 +1,5 @@
|
|||
[files]
|
||||
extend-exclude = ["/themes", "/attic", "/data-definitions", "*.css", "package-lock.json"]
|
||||
extend-exclude = ["/themes", "/attic", "/data-definitions", "*.css", "syntax.scss", "package-lock.json"]
|
||||
|
||||
[default]
|
||||
check-filename = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue