Browse Source

Append an extra newline for the credit entry, fixes #70.

pull/72/head
Fredrik Ekre 6 years ago
parent
commit
0453bcdbe9
  1. 2
      src/Literate.jl

2
src/Literate.jl

@ -124,11 +124,13 @@ function replace_default(content, sym;
if credit if credit
if sym === :jl if sym === :jl
content *= """ content *= """
#- #-
## This file was generated using Literate.jl, https://github.com/fredrikekre/Literate.jl ## This file was generated using Literate.jl, https://github.com/fredrikekre/Literate.jl
""" """
else else
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).*
""" """

Loading…
Cancel
Save