You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
-
1I am currently working on a syntax highlighting module for x86 assembly language, and was also worried about the lack of activity on Prettify. I don't think I mind signing a CLA, but if no one is around to handle my pull request, that's a real problem.– Cody Gray - on strikeCommented Jan 11, 2017 at 10:59
-
1I strongly support this, but I don't think SE has any desire at all to do anything with Prettify, given their general reluctance to exert effort in that direction. The fact that SE's copy of Prettify is outdated despite the relative inactivity of the project is symptomatic.– Nathan TuggyCommented Jan 11, 2017 at 12:33
-
2@NathanTuggy Huh. I was assuming that decent syntax highlighting is pretty central to a platform that trades primarily in code.– RaphaelCommented Jan 11, 2017 at 12:34
-
That said, after reading this I think it's plausible that SE leaves out many languages by choice, not by laziness. Keeping the size of the delivered JS file small seems to be of high priority.– RaphaelCommented Jan 11, 2017 at 12:36
-
3@Raphael: You'd think, but quite a few requests to support this, that, or the other language have been met with "get it in Prettify, then we'll talk", but since SE isn't even keeping up to date on that… it really seems to me that that's just the use of "pull requests welcome" as a brush-off.– Nathan TuggyCommented Jan 11, 2017 at 12:52
-
"all kinds of personal information" - this is the typical Google CLA, which includes your name, address, and phone number. I think they explain pretty well why they need it, to clarify IP rights. I think you're overreacting a bit to that; they have to have a CLA to protect both themselves and you.– hichris123Commented Jan 11, 2017 at 22:20
-
@hichris123 They can ask for whatever they want -- I'm not taking it personally -- but I sure as hell can decide whom to give my personal data to. I certainly did not do my best to ensure Google does not get my home address and phone number over the last couple of years (no idea if that worked) only to give up over some syntax highlighting keywords. But yes, that's an individual issue. (Sadly so. I wish more people cared about data privacy.)– RaphaelCommented Jan 12, 2017 at 8:58
-
1Other than being basically abandonware, are there fixes that we should be looking at as critical? (Bringing this up with our engineering managers, I don't think we're willing to fork it, but if good patches are dying out in the wild ... well ... )– user50049Commented Jan 12, 2017 at 20:29
-
@TimPost I don't know about the delta between the SE version and the state of Prettify master, but the current pull requests are mostly about adding language support or features to individual languages, as far as I can tell.– RaphaelCommented Jan 12, 2017 at 20:51
-
@TimPost Thanks for pushing this upstream! If they say no to an SE fork, can you ask if they would be willing to pull from any fork of Prettify, say one maintained by SO users? (It's not as if there weren't almost 400 forks on Github alone... no telling how many of them are active; many are just pull requests.)– RaphaelCommented Jan 12, 2017 at 20:52
-
2@Raphael It's not the only third-party thing that we use which is either in permanent maintenance mode or essentially dead; I'm going to bring up the bigger conversation of how to deal with that once we're alerted to it, and this more specifically.– user50049Commented Jan 12, 2017 at 20:56
-
@TimPost How did that go? It seems that Prettify has been officially abandoned by now.– RaphaelCommented Jun 2, 2020 at 7:06
Add a comment
|
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
-
create code fences with backticks ` or tildes ~
```
like so
``` -
add language identifier to highlight code
```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_`
- quote by placing > at start of line
- to make links (use https whenever possible)
<https://example.com>
[example](https://example.com)
<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. stack-overflow), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you