Timeline for Adding `language: lang-el` to code blocks is not adding syntax highlighting for elisp
Current License: CC BY-SA 3.0
16 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 27, 2015 at 21:16 | comment | added | Joe Corneli |
Another heuristic would be to include ^diff to match diffs. ... Except, diff isn't one of the supported formats!
|
|
Nov 15, 2014 at 22:20 | comment | added | Gilles 'SO- stop being evil' | @WilfredHughes The page that you're reading is the feature request. I've had no private response. If there's a difference between the Android app and the site, that's presumably a bug in the Android app. | |
Nov 15, 2014 at 19:10 | comment | added | Wilfred Hughes | @Gilles do you have a link to that feature request? Also, it's interesting to note that there is syntax highlighting when using the Android SE app. | |
Oct 23, 2014 at 4:58 | comment | added | nispio | It has been a while. Any status updates? | |
Oct 9, 2014 at 15:42 | comment | added | Gilles 'SO- stop being evil' | @Malabarba This is already a feature request. I'll go and prod Jon. | |
Oct 9, 2014 at 15:41 | history | edited | Gilles 'SO- stop being evil' | CC BY-SA 3.0 |
added 1848 characters in body
|
Oct 9, 2014 at 15:30 | comment | added | Malabarba | Now that we're public, should we open a feature request on this? | |
Sep 30, 2014 at 15:41 | comment | added | Gilles 'SO- stop being evil' | @JonathanLeech-Pepin Yes, I understood you the first time. We need to convince the SE staff to activate the feature. They need to add a line to the configuration file for the site or whatever it is they do. | |
Sep 30, 2014 at 15:35 | comment | added | Jonathan Leech-Pepin | @Gilles I mean turning it on at all. Currently it does not work even when the language tag is included. In this case since at least a decent portion of code-blocks will be code and not buffer examples, enabling the option would be useful. | |
Sep 30, 2014 at 15:33 | comment | added | Gilles 'SO- stop being evil' | @JonathanLeech-Pepin We demonstrate the need, then someone from the Stack Exchange staff turns it on. I don't know how obvious they consider this case. It could help if we had some stats regarding the proportion of code blocks that are Lisp code. | |
Sep 30, 2014 at 15:31 | comment | added | Jonathan Leech-Pepin | What does it take to have it activated for the site (be it with or without a default language)? | |
Sep 24, 2014 at 22:28 | comment | added | Gilles 'SO- stop being evil' |
@asmeurer Cide blocks in languages other than Lisp rarely start with ; or ( . Of course it's not perfect but that's the definition of a heuristic.
|
|
Sep 24, 2014 at 19:44 | comment | added | asmeurer | I suspect it may be wrong more often than you'd think. If someone has a code block of text they are editing, to show an example of what they are trying to do, it most likely won't be emacs lisp. | |
Sep 24, 2014 at 12:52 | comment | added | user227 |
I agree with that rule. In the presence of a language-specific tag, e.g. c++ or javascript , we could fall back to that language, though.
|
|
Sep 24, 2014 at 8:27 | comment | added | Malabarba | This rule of thumb would catch probably 98% of all cases, so it seems a fine option if at all possible. | |
Sep 24, 2014 at 8:17 | history | answered | Gilles 'SO- stop being evil' | CC BY-SA 3.0 |