How to add emojis in jupyter notebook as done here?Variables and Printing | JuliaAcademy at 6 :00 time stamp .
emoji of cat is inserted but not taught how it was done.
I am new to programming and jupyter. Can someone please explain how emojis can be typed in jupyter notebook.
You can go to https://emojipedia.org/ and copy-paste any emoji (or just any text from anywhere, emjois are in a sense just text) to the notebook, or into Juliaâs REPL.
I didnât actually test the notebook, only the REPL, as I do not have it installed. I just know text handling historically didnât have emjois (except for in text for, we used to do, :)
and then not so much in programs, probably illegal as a variable name). But as of Unicode, emojis are supported as âtextâ, even in [skin] color.
If youâre new to programming, and emojis are your takeaway, then youâve lost the main message. As explained at that time-point, not so much used.
Just paste the emoji youâre interested in into the REPL help mode:
help?> đ±
"đ±" can be typed by \:cat:<tab>
I believe IJulia offers the same tab completion as the Julia REPL, so you can type
\:cat:<TAB>
to insert a . Here in the manual you have a full list of all possible tab completion sequences.
Thanks.
Thanks. Really appreciate you sharing the manual
Thanks
When I type the emoji it displays correctly here: , but when I type the same thing into a Jupyter notebookâs input cell it says this when run:
syntax: â\â is not a unary operator
What am I missing? Specifically, does Julia (or IJulia) need its private copy of conda to fully support notebooks? I skipped that step because Iâm launching the notebooks from Jupyter in the browser, not from Julia, and it seems to work except for this emoji thing.
Thanks for any advice.