مۇنازىرىلەر » Greasy Fork قا ئىنكاس

Add syntax highlighting to forum code blocks

woxxomMod
§
يوللانغان ۋاقتى: 2014-12-02
تەھرىرلەنگەن ۋاقتى: 2014-12-02

Add syntax highlighting to forum code blocks

  • Problem: code blocks on Greasyfork forum currently are displayed without any syntax highlighting with an obtrusive bright yellow background which looks very bad on anything bigger than a few words/lines.
  • Solution: enable the same syntax highlighter that is used now on the userscript code page/tab (CodeRay apparently).
  • Side note: someone may want to apply the bright yellow highlight using tag so it should be fixed to implement this (currently it doesn't work), something like mark { background: #ff9; }

P.S. In case it's not easy to implement in the foreseeable future, there's a temporary userscript solution (screenshot).

woxxomMod
§
يوللانغان ۋاقتى: 2014-12-03
§
يوللانغان ۋاقتى: 2014-12-03

Also the client side highlighting we discussed some time ago should work here as the code is not that big :)

جاۋاب قايتۇرۇش

جاۋاب قايتۇرۇش ئۈچۈن كىرىش.