ep_markdown_toc 1.0.4 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/assets/demo.gif +0 -0
- package/package.json +2 -2
- package/static/css/toc.css +2 -1
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
## Markdown editing in Etherpad
|
|
2
2
|
|
|
3
|
+

|
|
4
|
+
|
|
3
5
|
This plugin enhances Etherpad for Markdown-style writing.
|
|
4
6
|
It does this in multiple ways:
|
|
5
7
|
- It enables automatic generation of a Table of Contents based on Markdown-style hashsign headings (#, ##, etc.) in Etherpad documents (can be disabled through settings). === style headings are not supported at the moment, and likely will never be.
|
|
@@ -15,4 +17,4 @@ It borrows heavily from the excellent [ep_headings2](https://github.com/ether/ep
|
|
|
15
17
|
Etherpad 2.3.0 (maybe lower, untested)
|
|
16
18
|
|
|
17
19
|
## Licence
|
|
18
|
-
This repository is published under the [CC4r*](
|
|
20
|
+
This repository is published under the [CC4r*](https://constantvzw.org/wefts/cc4r.en.html) license.
|
package/assets/demo.gif
ADDED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ep_markdown_toc",
|
|
3
3
|
"description": "Provides markdown-based heading detection and TOC for Etherpad, used in Octomode.",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.6",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "hrk",
|
|
7
7
|
"email": "heerko@hackersanddesigners.nl"
|
|
8
8
|
},
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "https://github.com/
|
|
11
|
+
"url": "https://github.com/heerko/ep_markdown_toc"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"showdown": "*"
|
package/static/css/toc.css
CHANGED
|
@@ -46,7 +46,8 @@
|
|
|
46
46
|
/*
|
|
47
47
|
Add a margin for the TOC when enabled
|
|
48
48
|
*/
|
|
49
|
-
|
|
49
|
+
#editorcontainer { margin-left: 200px; }
|
|
50
|
+
.hide-toc #editorcontainer { margin-left: initial; }
|
|
50
51
|
|
|
51
52
|
/*
|
|
52
53
|
For hiding the regular Ace/Etherpad editor buttons.
|