Reputation: 95
<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)
Upvotes: 0
Views: 148
Reputation: 141
because the '{{'
is thought as part of liquid.
e.g.
'{{site.title}}'
will be replace to your sitename setted in _config.yml
Upvotes: 1
Reputation: 3626
{{
is part of the liquid the templating language. Try encoding the {
or enclose content in {% raw %}
{% endraw %}
block.
Upvotes: 1