diff --git a/autotests/html/test.markdown.html b/autotests/html/test.markdown.html --- a/autotests/html/test.markdown.html +++ b/autotests/html/test.markdown.html @@ -51,23 +51,23 @@ ```bash #!/usr/bin/env bash -for f in *; do - echo "$f" +for f in *; do + echo "$f" done ``` ## C++ ```cpp #include <QtCore/QObject> -class Q : public QObject { +class Q : public QObject { Q_OBJECT public: - Q(); + Q(); } -Q::Q() :QObject(NULL) { +Q::Q() :QObject(NULL) { } ``` @@ -84,7 +84,7 @@ ## CSS ```css -h1.main::hover { +h1.main::hover { font-size: 100; color: green; } @@ -101,19 +101,19 @@ ## Haskell ```haskell -module Main (main) where +module Main (main) where -main :: IO () -main = putStrLn "Hello, World!" +main :: IO () +main = putStrLn "Hello, World!" ``` ## HTML ```html <html> - <body> - <p class="main">Hello world!</p> - </body> + <body> + <p class="main">Hello world!</p> + </body> </html> ``` @@ -138,27 +138,27 @@ ## PHP ```php -namespace Application\Controller; +namespace Application\Controller; -use Zend\Mvc\Controller\AbstractActionController; +use Zend\Mvc\Controller\AbstractActionController; -class IndexController extends AbstractActionController +class IndexController extends AbstractActionController { } ``` ## Python ```python -def addXToY(x, y): - total = x + y - print total +def addXToY(x, y): + total = x + y + print total ``` ## QML ```qml -Text { +Text { id: hello width: 100 text: "Hello world!" @@ -168,8 +168,8 @@ ## Rust ```rust -fn main() { - println!("Hello world!"); +fn main() { + println!("Hello world!"); } ``` diff --git a/autotests/reference/test.markdown.ref b/autotests/reference/test.markdown.ref --- a/autotests/reference/test.markdown.ref +++ b/autotests/reference/test.markdown.ref @@ -44,41 +44,41 @@
```bash
#!/usr/bin/env bash
-
-for f *; do
- echo "$f"
+
+for f *; do
+ echo "$f"
done
```

## C++



```cpp
#include
-
-class Q : public QObject {
+
+class Q : public QObject {
Q_OBJECT
public:
- Q();
+ Q();
}
-
-Q::Q() :QObject(NULL) {
+
+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 {
+h1.main::hover {
font-size: 100;
color: green;
}
@@ -95,19 +95,19 @@

## Haskell



```haskell
-module Main (main) where
-
-main :: IO ()
-main = putStrLn "Hello, World!"
+module Main (main) where
+
+main :: IO ()
+main = putStrLn "Hello, World!"
```

## HTML



```html

-
- class="main">Hello world!


-
+
+ class="main">Hello world!


+

```

@@ -132,27 +132,27 @@

## PHP



```php
-namespace Application\Controller;
-
-use Zend\Mvc\Controller\AbstractActionController;
-
-class IndexController extends AbstractActionController
+namespace Application\Controller;
+
+use Zend\Mvc\Controller\AbstractActionController;
+
+class IndexController extends AbstractActionController
{
}
```

## Python



```python
-def addXToY(x, y):
- total = x + y
- print total
+def addXToY(x, y):
+ total = x + y
+ print total
```

## QML



```qml
-Text {
+Text {
id: hello
width: 100
text: "Hello world!"
@@ -162,8 +162,8 @@

## Rust



```rust
-fn main() {
- println!("Hello world!");
+fn main() {
+ println!("Hello world!");
}
```

diff --git a/data/syntax/markdown.xml b/data/syntax/markdown.xml --- a/data/syntax/markdown.xml +++ b/data/syntax/markdown.xml @@ -35,7 +35,7 @@ ]> - + @@ -76,55 +76,55 @@ - + - + - + - + - + - + - + - + - + - + - + - + - +