projects
/
brevno-suite
/
hugo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8e05b1
)
docs: Fix findRE typo
author
Cameron Moore
<moorereason@gmail.com>
Thu, 21 Apr 2016 17:38:40 +0000
(12:38 -0500)
committer
Cameron Moore
<moorereason@gmail.com>
Thu, 21 Apr 2016 17:38:40 +0000
(12:38 -0500)
docs/content/templates/functions.md
patch
|
blob
|
history
diff --git
a/docs/content/templates/functions.md
b/docs/content/templates/functions.md
index 7cb749d058b45be7215eebd98f5a4a2d259dc1b6..9d1981e80f4a9b14612c94d860234253379dca58 100644
(file)
--- a/
docs/content/templates/functions.md
+++ b/
docs/content/templates/functions.md
@@
-486,7
+486,7
@@
We can limit the number of matches in that list with a third parameter. Let's sa
{{ findRE "<h2.*?>(.|\n)*?</h2>" .Content 1 }}
<!-- returns ["<h2 id="#foo">Foo</h2>"] -->
-`findR
e
` allows us to build an automatically generated table of contents that could be used for a simple scrollspy:
+`findR
E
` allows us to build an automatically generated table of contents that could be used for a simple scrollspy:
{{ $headers := findRE "<h2.*?>(.|\n)*?</h2>" .Content }}