Doc: Add a custom \borderedimage macro
This macro is used similarly to the \image command; it wraps the image in a div with class attribute 'border' that allows additional styling in CSS. Change-Id: I94271074378d79f0e52f1f5a4715a1f84e0254dc Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
This commit is contained in:
parent
d10e4c193b
commit
9f45d2ab03
@ -31,6 +31,7 @@ macro.mdash.HTML = "—"
|
||||
macro.pi.HTML = "Π"
|
||||
macro.beginqdoc.HTML = "/*!"
|
||||
macro.endqdoc.HTML = "*/"
|
||||
macro.borderedimage = "\\div {class=\"border\"} \\image \1\n\\enddiv"
|
||||
|
||||
macro.beginfloatleft.HTML = "<div style=\"float: left; margin-right: 2em\">"
|
||||
macro.beginfloatright.HTML = "<div style=\"float: right; margin-left: 2em\">"
|
||||
|
Loading…
Reference in New Issue
Block a user