You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While diversity is great feature, sometimes one would like to call pandoc-plot on Markdown of unknown origin.
In such case it would be nice to have --safe option that disables all those plotting libraries that can execute arbitrary code.
This would probably allow only gnuplot, graphviz, plantuml, and ggplot2 without shell escape.
To disable shell escape in gnuplot it may be sufficient to run with environment variable set: SHELL=/bin/false gnuplot.
As far as I know graphviz and plantuml allow no shell escape.
The text was updated successfully, but these errors were encountered:
While diversity is great feature, sometimes one would like to call
pandoc-plot
on Markdown of unknown origin.In such case it would be nice to have
--safe
option that disables all those plotting libraries that can execute arbitrary code.This would probably allow only
gnuplot
,graphviz
,plantuml
, andggplot2
without shell escape.To disable shell escape in
gnuplot
it may be sufficient to run with environment variable set:SHELL=/bin/false gnuplot
.As far as I know
graphviz
andplantuml
allow no shell escape.The text was updated successfully, but these errors were encountered: