astoff / code-cells.el

Emacs utilities for code split into cells, including Jupyter notebooks
GNU General Public License v3.0
180 stars 11 forks source link

Feature request: specify facet of markdown regions #26

Open afermg opened 5 months ago

afermg commented 5 months ago

Hi, first of all thanks for the great package. Have been using it for more than a year now. The one thing that I would like to implement at some point is specifying a different color for the lines between the markdown markers. Mainly because the cell marker does not work on terminal mode, making it a bit hard to differentiate If you have any pointers or ideas on how to implement it that doesn't add much overhead/complexity that would be great, but I will try to implement when I get time down the line.

astoff commented 5 months ago

Do you mean to add some color / different face for the body of markdown cells? That would be a cool feature, it shouldn't be overly complex but there are tricks making font-lock work on multi-line regions. (Also, if you try do to that, have a look at this).