I made a PR to add .livemd
extension to GitHub linguist.
github:master
← nallwhy:add_livemd_extension_to_markdown_language
opened 03:58AM - 04 Dec 21 UTC
## Description
This PR adds `.livemd` extension to `Markdown` language.
…
`.livemd` is the extension of [Livebook](https://github.com/livebook-dev/livebook/) which is an Elixir version of Jupyter.
`.livemd` is a subset of Markdown.
`.livemd` can be displayed as Markdown on GitHub when `.livemd` has `` at the first line of it ([Example](https://github.com/josevalim/aoc/blob/main/2021/day-01.livemd)), but it's not a default option of `.livemd`.
## Checklist:
- [x] **I am associating a language with a new file extension.**
- [x] The new extension is used in hundreds of repositories on GitHub.com
- Search results for each extension:
- https://github.com/search?q=extension%3Alivemd&type=Code
- [x] I have included a real-world usage sample for all extensions added in this PR:
- Sample source(s): x (I made it including all features of Livebook)
- [ ] I have included a change to the heuristics to distinguish my language from others using the same extension.
But it’s pending now because of its less popularity on GitHub.
I love Livebook, so want to introduce it to many people.
If .livemd
can be rendered as Markdown on GitHub, many people will fill Livebook more friendly.
Thanks!
11 Likes
aiko
December 9, 2021, 8:00am
2
What can we do to increase popularity?
Is there a vote I can cast somewhere… or do I need to include a lib in my project?
fuelen
December 9, 2021, 8:26am
3
From CONTRIBUTING.md :
In most cases we prefer that each new file extension be in use in at least 200 unique :user/:repo repositories before supporting them in Linguist.
Current state:
Unique public user/repos: 28
Sebb
December 9, 2021, 9:43am
4
So, anyone who got a lib on github just add a .livemd
as interactive readme.
3 Likes
Now it has been merged but has not been released yet.
7 Likes
Finally, it has been released!
Now .livemd
files are rendered as Markdown on GitHub.
6 Likes
Congratz! Thanks for taking the initiative and keeping us up to date
1 Like
bmitc
June 11, 2022, 7:55am
8
Ahhhh yea. Thanks so much for getting this in there! This is amazing. I checked a notebook in one of my existing repositories , and it looks great (your rendering, not my code. ).
Will this render the graphs and charts that Livebook can have in notebooks?
It’s just markdown rendering. If Livebook saves graphs and charts as images, they can be rendered.