Skip to content

Commit

Permalink
Added changes to el file
Browse files Browse the repository at this point in the history
  • Loading branch information
JanikkinaJ committed Dec 16, 2024
1 parent 63dbd82 commit 80b1415
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions org-special-block-extras.el
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,7 @@ it may be prudent to expose more aspects as arguments.
%s
</details>" background-color title-color title contents))))

(org-defblock box (title "" background-color nil shadow nil)
(org-defblock box (title "" background-color nil shadow nil frame-color nil title-background-color nil)
"Enclose text in a box, possibly with a title.
By default, the box's COLOR is green for HTML and red for LaTeX,
Expand Down Expand Up @@ -1089,7 +1089,8 @@ In the future, I will likely expose more arguments."
(apply #'concat
`("\\begin{tcolorbox}[title={" ,title "}"
",colback=" ,(pp-to-string (or background-color 'red!5!white))
",colframe=red!75!black, colbacktitle=yellow!50!red"
",colframe=" ,(pp-to-string (or frame-color 'red!75!black))
",colbacktitle=" ,(pp-to-string (or title-background-color 'yellow!50!red))
",coltitle=red!25!black, fonttitle=\\bfseries,"
"subtitle style={boxrule=0.4pt, colback=yellow!50!red!25!white}]"
,contents
Expand Down

0 comments on commit 80b1415

Please sign in to comment.