diff options
author | Victor Häggqvist <[email protected]> | 2014-12-07 23:06:39 +0100 |
---|---|---|
committer | Victor Häggqvist <[email protected]> | 2014-12-07 23:06:39 +0100 |
commit | d4196c9142fac4c1f788549de03dbd952b6f44fc (patch) | |
tree | 6428beefcbb5320d8a5ad144b893d807b0b6dbba | |
parent | 2bfe87073e5414b952856bf79286e37b302c53ef (diff) |
Some dev infov1.0.1
Since I'll have forgot this stuff til next time :P
-rw-r--r-- | README.md | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -3,3 +3,21 @@ Parsedown packaged for MODx This Extra provides a snippet [[Parsedown]] which is a wrapper for Parsedown (https://github.com/erusev/parsedown) packaged for easy use in MODx. Parsedown (PHP lib) is a parser for Markdown with support for GFM (GitHub Flavored Markdown) + +#Dev info +Assuming a directory structure like + + webroot + ├── modx <-- modx install + └── parsedown-modx <-- extra source dir + +##Add the settings +key | value +-|- +parsedown.assets_url | /parsedown/assets/components/parsedown +parsedown.core_path | ../parsedown-modx/core/components/parsedown/ + +##Add a Snippet +Name: Parsedown +Is Static: [x] +Static File: [[++parsedown.core_path]]elements/snippets/snippet.parsedown.php |