Project

General

Profile

Actions

Feature #1348

closed

Highlight syntax

Added by Dennis Roczek over 8 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Wiki
Target version:
-
Start date:
Due date:
% Done:

0%

Tags:
EasyHack

Description

There are many code snippets and scripts posted in the wiki providing help for developers and maintainers. These code snippets should be highlighted by using the wiki-internal syntax highlight with the <source> tag. Posted source code is mostly using the %3Cpre> oder %3Ccode> tags or whitespace in front of the code.

Example edit: https://wiki.documentfoundation.org/index.php?title=Development/Accessibility&curid=13458&diff=95116&oldid=95113

A list of supported languages can be found at https://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi#Supported_languages

This is a moved ticket from https://bugs.documentfoundation.org/show_bug.cgi?id=80086

We do not have a list of pages which need to be cleanup. So somebody has to go through the list of all pages manually. ( https://wiki.documentfoundation.org/Special:AllPages )

Actions #2

Updated by Dennis Roczek over 8 years ago

  • Assignee deleted (Dennis Roczek)
Actions #4

Updated by Dennis Roczek over 8 years ago

https://wiki.documentfoundation.org/Development/Easy_Hacks/Completed

(either this is a note for my self or for anybody who wants to jump in - I cannot do them at the moment!)

Actions #5

Updated by Dennis Roczek over 8 years ago

another page

https://wiki.documentfoundation.org/Development/Linux_Build_Dependencies

(keep in mind that there might be language versions of that, too)

Actions #7

Updated by Beluga Beluga about 4 years ago

  • Status changed from New to Closed

Actually the tag used should be <syntaxhighlight>. I have been doing these as I've been cleaning things up. However, tags allow the text to be inline. Closing silently.

Actions

Also available in: Atom PDF