Renderer checkbox label #3270
Unanswered
Aetherinox
asked this question in
Q&A
Replies: 1 comment 1 reply
-
The checkbox renderer only returns the checkbox HTML. The listitem render renders the whole listitem including the checkbox HTML if it has it. Lines 58 to 60 in 91ee15b |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Trying this out, and been reading the documentation, however, maybe I've missed something. According to https://marked.js.org/using_pro#renderer; the
checkbox
element only returns the boolean value if the checkbox is checked or not.I however, do not see where or how the label can be returned from the original markdown so that I can make adjustments slightly to the label styling.
Beta Was this translation helpful? Give feedback.
All reactions