UI tweaks

pull/645/head
Tienson Qin 2020-04-30 21:43:05 +08:00
parent 9c360692f9
commit 33257c1841
1 changed files with 2 additions and 2 deletions

View File

@ -536,14 +536,14 @@
[:div.mathblock [:div.mathblock
(str "$$" s "$$")] (str "$$" s "$$")]
["Example" l] ["Example" l]
[:pre [:pre.pre-wrap-white-space
(join-lines l)] (join-lines l)]
["Src" options] ["Src" options]
(let [{:keys [language options lines]} options (let [{:keys [language options lines]} options
attr (if language attr (if language
{:data-lang language {:data-lang language
:class lines})] :class lines})]
[:pre [:pre.pre-wrap-white-space
[:code attr [:code attr
(join-lines lines)]]) (join-lines lines)]])
["Quote" l] ["Quote" l]