diff options
Diffstat (limited to 'mdn')
-rw-r--r-- | mdn/mdn-dir-locals.el | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mdn/mdn-dir-locals.el b/mdn/mdn-dir-locals.el new file mode 100644 index 0000000..d82ced8 --- /dev/null +++ b/mdn/mdn-dir-locals.el @@ -0,0 +1,12 @@ +;; does not work for all, but good enough +;; find [...] -exec grep --color=auto -n --null -E -A1 -B1 \\\(/en-US/\[\^d\] /dev/null \{\} + +;; 53 results + +((markdown-mode + . ((markdown-hide-urls . t) + (markdown-translate-filename-function + . (lambda (file) + (concat (project-root (project-current)) "files" + (replace-regexp-in-string "/en-us/docs" "/en-us" + (downcase file)) + "/index.md")))))) |