coauthor icon indicating copy to clipboard operation
coauthor copied to clipboard

Emoji as bullet points

Open diomidov opened this issue 3 years ago • 2 comments

It would be nice if you could replace bullet points with arbitrary emojis, similarly to how you can do it with checkboxes. Example use case: image

Possible syntax:

* [⭐] Good item
* [🚫] Bad item
* [💩] Very bad item

diomidov avatar May 31 '21 18:05 diomidov

You can do it currently with LaTeX:

\begin{itemize}
\item[⭐] Good item
\item[🚫] Bad item
\item[💩] Very bad item
\end{itemize}

Given this, your Markdown notation seems like a natural extension of this feature. It will require a bit of work, though, because I'm currently using a "GitHub checkbox" plugin which specifically matches only [ ] or [x].

Should * [hi] and 1. [5.] also modify the bullet, or just emoji? Hmm, clearly * [x] shouldn't make an x label...

edemaine avatar May 31 '21 21:05 edemaine

How about "any string except for  and x"? If for some reason you want literal x as a label, you can probably make the label x and it'll look the same.

But what should 1. [$n^2$] do? Should the label be "n²" or "$n^2$"?

Also, it should only get parsed as a list label if it is followed by a space (or any whitespace character? or end of string?). We don't want * [⭐](https://example.com) to get parsed a list label followed by a parenthesized URL. The GitHub checkbox plugin already checks for this.

diomidov avatar May 31 '21 23:05 diomidov