use same logic

pull/347/head
Shuhei Kadowaki 2020-05-24 17:06:31 +09:00
parent 39d3d8d91c
commit 0fc915b748
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ function format(doc, template = nothing, highlight_theme = nothing; css = nothin
get!(docformat.formatdict, :out_height, nothing)
get!(docformat.formatdict, :fig_pos, nothing)
get!(docformat.formatdict, :fig_env, nothing)
docformat.formatdict[:highlight_theme] = highlight_theme = get_highlight_theme(highlight_theme)
docformat.formatdict[:highlight_theme] = get_highlight_theme(highlight_theme)
restore_header!(doc)