diff --git a/autotests/html/basic.markdown.html b/autotests/html/basic.markdown.html index 8ee1f19..00766f3 100644 --- a/autotests/html/basic.markdown.html +++ b/autotests/html/basic.markdown.html @@ -1,13 +1,13 @@ basic.markdown
 normal
 
-* item1
-still part of item
+* item1
+still part of item
 
 normal text again
 
diff --git a/autotests/html/test.markdown.html b/autotests/html/test.markdown.html index ca990ee..1a89bff 100644 --- a/autotests/html/test.markdown.html +++ b/autotests/html/test.markdown.html @@ -1,189 +1,189 @@ test.markdown
 # H1
 
 ## H2
 
 ### H3
 
 Multi-line paragraph bla bla bla
 bla bla bla.
 
 Intentional line break  
 via two spaces at line.
 
 Formats: _italic_, **bold**, `monospace`, ~~strikeout~~
 
 Bullet list:
 
-* item1
-* item2
+* item1
+* item2
 
 Numbered list:
 
-1. item 1
-2. item 2
+1. item 1
+2. item 2
 
 [link](http://kde.org)
 
     code 1
     code 2
 
 normal text
 
 > block quote _italic_
 > more block quote
 
 normal text
 
 Title: some text
 
 normal text
 
 # Fenced code blocks (bug 356974)
 
 ## Bash
 
 ```bash
 #!/usr/bin/env bash
 
 for f in *; do
     echo "$f"
 done
 ```
 
 ## C++
 
 ```cpp
 #include <QtCore/QObject>
 
 class Q : public QObject {
 Q_OBJECT
 public:
     Q();
 }
 
 Q::Q() :QObject(NULL) {
 }
 ```
 
 ## CMake
 
 ```cmake
 cmake_minimum_required(VERSION 3.10 FATAL_ERROR)
 
 project (hello_world)
 
 set(QT_MIN_VERSION "5.6.0")
 ```
 
 ## CSS
 
 ```css
 h1.main::hover {
     font-size: 100;
     color: green;
 }
 ```
 
 ## Email
 
 ```email
 From: Konqi Dragon <konqi@kde.org>
 To: All <all@kde.og>
 Subject: highlights
 ```
 
 ## Haskell
 
 ```haskell
 module Main (main) where
 
 main :: IO ()
 main = putStrLn "Hello, World!"
 ```
 
 ## HTML
 
 ```html
 <html>
   <body>
     <p class="main">Hello world!</p>
   </body>
 </html>
 ```
 
 ## JSON
 
 ```json
 [{
     "hello": "world",
     "count": 1,
     "bool": true
 }]
 ```
 
 ## KConfig
 
 ```kconfig
 [General]
 Toggle=true
 Count=1
 ```
 
 ## PHP
 
 ```php
 namespace Application\Controller;
 
 use Zend\Mvc\Controller\AbstractActionController;
 
 class IndexController extends AbstractActionController
 {
 }
 ```
 
 ## Python
 
 ```python
 def addXToY(x, y):
     total = x + y
     print total
 ```
 
 ## QML
 
 ```qml
 Text {
     id: hello
     width: 100
     text: "Hello world!"
 }
 ```
 
 ## Rust
 
 ```rust
 fn main() {
     println!("Hello world!");
 }
 ```
 
 ## XML
 
 ```xml
 <tag attribute="3">
   <nested/>
 </tag>
 ```
 
 ## No language specified
 
 ```
 No language is specified, but it should be still rendered as code block.
 ```
 
diff --git a/data/syntax/markdown.xml b/data/syntax/markdown.xml index b2df2b7..28aab50 100644 --- a/data/syntax/markdown.xml +++ b/data/syntax/markdown.xml @@ -1,203 +1,203 @@ ]> - + - - - - - - + + + + + +