@beoe/rehype-gnuplot
Advanced tools
Comparing version
{ | ||
"name": "@beoe/rehype-gnuplot", | ||
"type": "module", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"description": "rehype gnuplot plugin", | ||
@@ -18,2 +18,3 @@ "keywords": [ | ||
"sideEffects": false, | ||
"homepage": "https://beoe.stereobooster.com/diagrams/gnuplot/", | ||
"exports": { | ||
@@ -32,3 +33,3 @@ "types": "./dist/index.d.js", | ||
"@beoe/rehype-code-hook": "0.1.0", | ||
"@beoe/rehype-code-hook-img": "0.1.0" | ||
"@beoe/rehype-code-hook-img": "0.3.0" | ||
}, | ||
@@ -35,0 +36,0 @@ "devDependencies": { |
# @dat/rehype-gnuplot | ||
Rehype plugin to generate [Gnuplot](https://gnuplot.sourceforge.net/) diagrams (as inline SVGs) in place of code fences. This: | ||
Rehype plugin to generate [Gnuplot](https://gnuplot.sourceforge.net/) diagrams in place of code fences. This: | ||
@@ -36,19 +36,2 @@ ````md | ||
It support caching the same way as [@beoe/rehype-code-hook](/packages/rehype-code-hook/) does. | ||
## Tips | ||
### XKCD-style | ||
You can create XKCD-style plots with this [snippet](https://rfonseca.github.io/xkcd-gnuplot/). In order for it to work as SVG you need to changed following lines: | ||
```diff | ||
- set term postscript eps font 'HumorSans' fontfile 'Humor-Sans.pfa' 22 | ||
- set output 'xkcd.eps' | ||
+ set terminal svg enhanced font "HumorSans,Patrick Hand,Chalkboard,Comic Sans MS,18" | ||
``` | ||
You may use any font you like (don't forget to load it in HTML), for example: | ||
- [Humor Sans](https://github.com/shreyankg/xkcd-desktop/blob/master/Humor-Sans.ttf) | ||
- [Patrick Hand](https://fonts.google.com/specimen/Patrick+Hand) | ||
[Online documentation](https://beoe.stereobooster.com/diagrams/gnuplot/) provides more details. |
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
1
-50%3011
-15.78%37
-31.48%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed