Hacker News new | past | comments | ask | show | jobs | submit login

Yes, I have written extensions or simple functions for emacs.

My latest one is a minor mode called markdown-notebook [1]. It lets you add and execute python codeblocks into markdown files. The results of the codeblock are inserted just below the codeblock. It's a reasonable way to add code examples to your readme or github wiki without having to copy and paste things from the terminal.

Still need to do some work to get it to paste images (say from matplotlib) into the markdown document.

[1] https://gist.github.com/abdullahkhalids/83055b1abbd2cdf2416a...




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: