From 7abbf8173309bb9b6530c08213269372660598bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= Date: Sun, 23 Sep 2012 14:25:18 +0200 Subject: [PATCH] recognize pascal and java syntaxes --- text_dokuwiki.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/text_dokuwiki.py b/text_dokuwiki.py index f15a8ce..77e50e7 100644 --- a/text_dokuwiki.py +++ b/text_dokuwiki.py @@ -234,6 +234,8 @@ class Formatter(FormatterBase): try: syntax = { 'ColorizedPython': 'python', + 'ColorizedPascal': 'pascal', + 'ColorizedJava': 'java', 'ColorizedCPlusPlus': 'cpp', }[code_type] except KeyError: