1 | {
|
2 | "id": "nodebb-plugin-markdown",
|
3 | "name": "Markdown Parser",
|
4 | "description": "A Markdown parser for NodeBB",
|
5 | "url": "https://github.com/julianlam/nodebb-plugin-markdown",
|
6 | "library": "./index.js",
|
7 | "less": [
|
8 | "public/less/default.less"
|
9 | ],
|
10 | "scripts": [
|
11 | "public/js/client.js"
|
12 | ],
|
13 | "acpScripts": [
|
14 | "public/js/admin.js"
|
15 | ],
|
16 | "staticDirs": {
|
17 | "styles": "../highlight.js/styles",
|
18 | "js": "public/js"
|
19 | },
|
20 | "modules": [
|
21 | "./public/js/highlight.js",
|
22 | "./public/js/highlightjs-line-numbers.js"
|
23 | ],
|
24 | "languages": "public/languages",
|
25 | "defaultLang": "en_GB",
|
26 | "templates": "./public/templates",
|
27 | "settingsRoute": "/admin/plugins/markdown",
|
28 | "hooks": [
|
29 | { "hook": "static:app.load", "method": "onLoad" },
|
30 | { "hook": "filter:parse.post", "method": "parsePost", "priority": 5 },
|
31 | { "hook": "filter:parse.signature", "method": "parseSignature", "priority": 5 },
|
32 | { "hook": "filter:parse.aboutme", "method": "parseAboutMe"},
|
33 | { "hook": "filter:parse.raw", "method": "parseRaw", "priority": 5 },
|
34 | { "hook": "filter:composer.help", "method": "renderHelp" },
|
35 | { "hook": "filter:admin.header.build", "method": "admin.menu" },
|
36 | { "hook": "filter:composer.formatting", "method": "registerFormatting" },
|
37 | { "hook": "filter:config.get", "method": "getConfig" },
|
38 | { "hook": "filter:meta.getLinkTags", "method": "getLinkTags"},
|
39 | { "hook": "filter:sanitize.config", "method": "updateSanitizeConfig" }
|
40 | ]
|
41 | }
|