diff options
author | Jean-François YUEN <[email protected]> | 2018-11-19 17:33:54 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2018-12-12 19:12:12 +0100 |
commit | ab9214768de4ce10032d3fe7ec8c7b2932ead892 (patch) | |
tree | dcef65af4ab797a1950702182b82fef48a9fba19 /commands/import_jekyll_test.go | |
parent | 50686817072c8bef947959cb2bcc7f1914c7f839 (diff) | |
download | hugo-ab9214768de4ce10032d3fe7ec8c7b2932ead892.tar.gz hugo-ab9214768de4ce10032d3fe7ec8c7b2932ead892.zip |
importer: fix jekyll import highlight options
Diffstat (limited to 'commands/import_jekyll_test.go')
-rw-r--r-- | commands/import_jekyll_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/commands/import_jekyll_test.go b/commands/import_jekyll_test.go index cb22e9cd7..e0402a7a6 100644 --- a/commands/import_jekyll_test.go +++ b/commands/import_jekyll_test.go @@ -97,6 +97,9 @@ func TestConvertJekyllContent(t *testing.T) { {map[interface{}]interface{}{}, "{% highlight go %}\nvar s int\n{% endhighlight %}", "{{< highlight go >}}\nvar s int\n{{< / highlight >}}"}, + {map[interface{}]interface{}{}, + "{% highlight go linenos hl_lines=\"1 2\" %}\nvar s string\nvar i int\n{% endhighlight %}", + "{{< highlight go \"linenos=table,hl_lines=1 2\" >}}\nvar s string\nvar i int\n{{< / highlight >}}"}, // Octopress image tag {map[interface{}]interface{}{}, |