Browse Source

Add a horizontal rule before the credits.

pull/86/head
Fredrik Ekre 6 years ago
parent
commit
43bde3820f
  1. 2
      src/Literate.jl
  2. 4
      test/runtests.jl

2
src/Literate.jl

@ -136,6 +136,8 @@ function replace_default(content, sym;
content *= """ content *= """
#- #-
# ---
#
# *This $(sym === :md ? "page" : "notebook") was generated using [Literate.jl](https://github.com/fredrikekre/Literate.jl).* # *This $(sym === :md ? "page" : "notebook") was generated using [Literate.jl](https://github.com/fredrikekre/Literate.jl).*
""" """
end end

4
test/runtests.jl

@ -502,6 +502,8 @@ end end
nothing #hide nothing #hide
``` ```
---
*This page was generated using [Literate.jl](https://github.com/fredrikekre/Literate.jl).* *This page was generated using [Literate.jl](https://github.com/fredrikekre/Literate.jl).*
""" """
@ -768,6 +770,8 @@ end end
""" """
"source": [ "source": [
"---\\n",
"\\n",
"*This notebook was generated using [Literate.jl](https://github.com/fredrikekre/Literate.jl).*" "*This notebook was generated using [Literate.jl](https://github.com/fredrikekre/Literate.jl).*"
] ]
""")) """))

Loading…
Cancel
Save