Skip to content
forked from jgm/pandoc

Commit

Permalink
Merge pull request #84 from jgm/master
Browse files Browse the repository at this point in the history
Change default revealjs-url to use CDN version of revealjs v4.
  • Loading branch information
sthagen authored May 31, 2020
2 parents ff8835f + 7c6dbd3 commit c3a34c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion MANUAL.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2146,7 +2146,8 @@ All [reveal.js configuration options] are available as variables.
To turn off boolean flags that default to true in reveal.js, use `0`.

`revealjs-url`
: base URL for reveal.js documents (defaults to `reveal.js`)
: base URL for reveal.js documents (defaults to
`https://unpkg.com/reveal.js@^4/`)

`s5-url`
: base URL for S5 documents (defaults to `s5/default`)
Expand Down
2 changes: 1 addition & 1 deletion src/Text/Pandoc/Writers/HTML.hs
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ pandocToHtml opts (Pandoc meta blocks) = do
defField "slidy-url"
("https://www.w3.org/Talks/Tools/Slidy2" :: Text) $
defField "slideous-url" ("slideous" :: Text) $
defField "revealjs-url" ("reveal.js" :: Text) $
defField "revealjs-url" ("https://unpkg.com/reveal.js@^4/" :: Text) $
defField "s5-url" ("s5/default" :: Text) $
defField "html5" (stHtml5 st)
metadata
Expand Down

0 comments on commit c3a34c1

Please sign in to comment.