Various small improvements

This commit is contained in:
Daniel Rudolf 2018-03-29 22:47:23 +02:00
parent 190889b77b
commit b405edba17
No known key found for this signature in database
GPG Key ID: A061F02CD8DE4538
3 changed files with 6 additions and 6 deletions

View File

@ -28,10 +28,9 @@
"require": { "require": {
"php": ">=5.3.6", "php": ">=5.3.6",
"ext-dom": "*", "ext-dom": "*",
"ext-mbstring": "*",
"twig/twig": "^1.35", "twig/twig": "^1.35",
"symfony/yaml" : "^2.8", "symfony/yaml" : "^2.8",
"erusev/parsedown": "^1.6", "erusev/parsedown": "^1.7",
"erusev/parsedown-extra": "^0.7" "erusev/parsedown-extra": "^0.7"
}, },
"suggest": { "suggest": {

View File

@ -35,7 +35,8 @@ content_config:
# See https://michelf.ca/projects/php-markdown/extra/ for more info # See https://michelf.ca/projects/php-markdown/extra/ for more info
breaks: false # A boolean indicating whether breaks in the markup should be reflected in the breaks: false # A boolean indicating whether breaks in the markup should be reflected in the
# parsed contents of the page # parsed contents of the page
escape: false # Escape HTML markup in your content files escape: false # Escape HTML markup in your content files; don't confuse this with some sort of
# safe mode, enabling this doesn't allow you to process untrusted user input!
auto_urls: true # Automatically link URLs found in your markup auto_urls: true # Automatically link URLs found in your markup
## ##

View File

@ -1393,12 +1393,12 @@ class Pico
} }
/** /**
* Returns the Parsedown Extra markdown parser * Returns the Parsedown markdown parser
* *
* This method triggers the `onParsedownRegistered` event when the * This method triggers the `onParsedownRegistered` event when the
* Parsedown Extra parser wasn't initiated yet. * Parsedown markdown parser wasn't initiated yet.
* *
* @return ParsedownExtra Parsedown Extra markdown parser * @return Parsedown Parsedown markdown parser
*/ */
public function getParsedown() public function getParsedown()
{ {