Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.4k views
in Technique[技术] by (71.8m points)

gitlab wiki - Asciidoc - Formatted Text in Admonition - Caution, Important, Note, Warning

I tried

IMPORTANT: * [ ] A checkbox

but the text after IMPORTANT: is not rendered as checkbox. Instead it is printed as is.

How can I convince the asciidoc processor (gitlab wiki) to render the text porperly and display a checkbox?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Use the detailed block notation for Admonitions.

[IMPORTANT]
====
* [ ] A Checkbox
====

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...