<pre class="Input" style="white-pace:nowrap; overflow: auto;"><code>Plot[{Sin[1/x]}, {x, -1, 3},
RegionFunction -> Function[{x}, 0 < x < 10],
PlotRange -> {{-1, 3}, {-1.2, 1.2}},
PlotLabel -> TraditionalForm[Sin[1/x]], PlotStyle -> Red,
AxesLabel -> {"x", "y"}, AxesStyle -> Arrowheads[{-0.03, 0.03}]]</code></pre>
The error information is:
Error: Variable `{{-1,3}` was not properly terminated with regexp: /\}\}/. Use --trace to view backtrace
I use GithShell to use Jekyll(for github page)
{{
is part of the liquid the templating language. Try encoding the {
or enclose content in {% raw %}
{% endraw %}
block.
because the '{{'
is thought as part of liquid.
eg
'{{site.title}}'
will be replace to your sitename setted in _config.yml
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.