Nikolaos Chatzikonstantinou <nchatz...@gmail.com> writes:

> With an org file like this:
>
> #+begin_src c
> /* ... */
> #+end_src
>
> you get valid recognition by babel, etc,

Not really. You cannot evaluate such a code block.

> ... but it is not recognized by
> ox-html's CSS file. Of course not all cases can be supported, but I
> think that this one is common enough for you to include.

I see no harm in this. Are there any other language names that might be
potentially case-sensitive?

> Subject: [PATCH] add lowercase c to languages recognized for CSS highlight

Could you please add a commit message as described in
https://orgmode.org/worg/org-contribute.html#commit-messages ?

> @@ -318,6 +318,7 @@ This affects IDs that are determined from the ID 
> property.")
>    pre.src-asymptote:before { content: 'Asymptote'; }
>    pre.src-awk:before { content: 'Awk'; }
>    pre.src-authinfo::before { content: 'Authinfo'; }
> +  pre.src-c:before { content: 'C'; }

Because we are changing the default value of a defcustom, we should
announce this in the news and update :package-version keyword.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to