aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Häggqvist <[email protected]>2014-12-07 23:06:39 +0100
committerVictor Häggqvist <[email protected]>2014-12-07 23:06:39 +0100
commitd4196c9142fac4c1f788549de03dbd952b6f44fc (patch)
tree6428beefcbb5320d8a5ad144b893d807b0b6dbba
parent2bfe87073e5414b952856bf79286e37b302c53ef (diff)
Some dev infov1.0.1
Since I'll have forgot this stuff til next time :P
-rw-r--r--README.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/README.md b/README.md
index 890da6a..75707a6 100644
--- a/README.md
+++ b/README.md
@@ -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