hexo-filter-tikzjax
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -9,3 +9,3 @@ "use strict"; | ||
append_css: true, | ||
inline_style: '.tikzjax { display: block; text-align: center; }', | ||
inline_style: '.tikzjax { display: block; text-align: center; user-select: none; }', | ||
font_css_url: 'https://cdn.jsdelivr.net/npm/node-tikzjax@latest/css/fonts.css', | ||
@@ -12,0 +12,0 @@ every_page: false, |
@@ -42,3 +42,6 @@ "use strict"; | ||
queue_1.default.enqueue(async () => { | ||
const svg = await (0, node_tikzjax_1.default)(input, { showConsole: this.env.debug }); | ||
const svg = await (0, node_tikzjax_1.default)(input, { | ||
showConsole: this.env.debug, | ||
...config.tikzjax_options, | ||
}); | ||
resolve(svg); | ||
@@ -45,0 +48,0 @@ }); |
{ | ||
"name": "hexo-filter-tikzjax", | ||
"description": "Server side PGF/TikZ renderer plugin for Hexo.", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"author": "prin <hi@prin.studio>", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
@@ -57,2 +57,4 @@ # hexo-filter-tikzjax | ||
For a full list of supported Ti*k*Z features and $\LaTeX$ packages, please refer to the [node-tikzjax](https://github.com/prinsss/node-tikzjax#usage) documentation. | ||
> [!TIP] | ||
@@ -59,0 +61,0 @@ > Run `hexo generate` or `hexo server` with `--debug` option to see the debug messages, including the console output of the TeX engine. To clear the internal SVG cache, run `rm -rf node_modules/hexo-filter-tikzjax/.cache`. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15957
294
99