feat(transformer): allow inline CSS styling (#1551)
* feat(transformer): allow inline CSS styling * Updated docs * Default to inline: false * Removed redundant inline: false
This commit is contained in:
parent
a53772bbd1
commit
314a88d5c6
5 changed files with 41 additions and 11 deletions
|
@ -31,8 +31,10 @@ export const Latex: QuartzTransformerPlugin<Partial<Options>> = (opts) => {
|
|||
if (engine === "katex") {
|
||||
return {
|
||||
css: [
|
||||
// base css
|
||||
"https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.9/katex.min.css",
|
||||
{
|
||||
// base css
|
||||
content: "https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.9/katex.min.css",
|
||||
},
|
||||
],
|
||||
js: [
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue