laxa
laxa

Reputation: 81

Github markdown escape checkbox mark

I am pretty new to markdown and I couldn't find an answer to this problem: On github, when doing: * \[X], a checkbox checked is appearing. Is there any way to get this output (the star is the puce of the list) * [X] ? I could try to use an unicode char to represent a similar X, but I'd rather have something more clean.

Thank you.

Upvotes: 3

Views: 2831

Answers (1)

mgarciaisaia
mgarciaisaia

Reputation: 15630

You have to write - [X] Sample for getting a checked checkbox - I didn't get one typing \[X] Sample nor [X] Sample.

If you want to escape that, you can just do \- [X] Sample.

I've just tested that using the Preview tab, and it works. If the actual result is different, that should be an issue.

Upvotes: 2

Related Questions