joplin-plugin-no-setext-heading 0.0.0-stage → 1.1.0
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/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Seo Jinbae
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,43 @@
|
|
|
1
|
-
#
|
|
1
|
+
# No Setext Heading (Joplin plugin)
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
글을 쓰고 Enter 후 다음 줄에 `-` 나 `=` 를 입력하면 윗줄이 **제목(Setext heading)**으로 바뀌는 마크다운 규칙을 Joplin 미리보기에서 끕니다.
|
|
4
|
+
|
|
5
|
+
Stops a line followed by `-` or `=` from turning into a heading in the Joplin note viewer and Markdown editor.
|
|
6
|
+
|
|
7
|
+
## 동작
|
|
8
|
+
|
|
9
|
+
| 입력 | 기본 Joplin | 플러그인 적용 후 |
|
|
10
|
+
|---|---|---|
|
|
11
|
+
| `회의 결과` ↵ `-` | `<h2>회의 결과</h2>` | 일반 문단 |
|
|
12
|
+
| `제목` ↵ `===` | `<h1>제목</h1>` | 일반 문단 |
|
|
13
|
+
| `# 제목` | 제목 | 제목 (그대로) |
|
|
14
|
+
| `- 항목` | 글머리표 | 글머리표 (그대로) |
|
|
15
|
+
| 빈 줄 뒤 `---` | 가로줄 | 가로줄 (그대로) |
|
|
16
|
+
| `문단` ↵ `---` | `<h2>문단</h2>` | 문단 + 가로줄 |
|
|
17
|
+
|
|
18
|
+
## 설치
|
|
19
|
+
|
|
20
|
+
1. [Releases](../../releases) 또는 `publish/` 폴더에서 `kr.smlabor.joplin.no-setext-heading.jpl` 다운로드
|
|
21
|
+
2. Joplin → 도구 → 옵션 → 플러그인 → ⚙ → **파일에서 설치** → `.jpl` 선택
|
|
22
|
+
3. Joplin 재시작
|
|
23
|
+
|
|
24
|
+
## 한계
|
|
25
|
+
|
|
26
|
+
- 미리보기(뷰어)·PDF·HTML 내보내기와 마크다운 편집창(CodeMirror 6, PC·모바일)에 적용됩니다.
|
|
27
|
+
- 예전(레거시) 편집기(CodeMirror 5)에는 편집창 표시가 적용되지 않습니다.
|
|
28
|
+
- 노트 파일 자체는 수정하지 않습니다.
|
|
29
|
+
|
|
30
|
+
## 빌드
|
|
31
|
+
|
|
32
|
+
```
|
|
33
|
+
npm run dist
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## 원리
|
|
37
|
+
|
|
38
|
+
- 뷰어: Joplin의 마크다운 엔진(markdown-it)에서 `lheading` 블록 규칙만 비활성화합니다.
|
|
39
|
+
- 편집창: Setext 제목으로 파싱된 줄에 제목 서식을 지우는 클래스를 붙입니다.
|
|
40
|
+
|
|
41
|
+
## License
|
|
42
|
+
|
|
43
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "joplin-plugin-no-setext-heading",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "1.1.0",
|
|
4
|
+
"description": "Joplin plugin: stop 'text' + next-line '-' or '=' from becoming a heading (Setext heading).",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"dist": "node -e \"require('fs').copyFileSync('src/manifest.json','publish/kr.smlabor.joplin.no-setext-heading.json')\" && tar --format=ustar -cf publish/kr.smlabor.joplin.no-setext-heading.jpl -C src index.js noSetextHeading.js editorNoSetext.js manifest.json"
|
|
7
|
+
},
|
|
8
|
+
"keywords": [
|
|
9
|
+
"joplin-plugin"
|
|
10
|
+
],
|
|
11
|
+
"license": "MIT",
|
|
12
|
+
"files": [
|
|
13
|
+
"publish"
|
|
14
|
+
],
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "git+https://github.com/smlabor/joplin-plugin-no-setext-heading.git"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"manifest_version": 1,
|
|
3
|
+
"id": "kr.smlabor.joplin.no-setext-heading",
|
|
4
|
+
"app_min_version": "3.0",
|
|
5
|
+
"version": "1.1.0",
|
|
6
|
+
"name": "No Setext Heading",
|
|
7
|
+
"description": "Stops a line followed by '-' or '=' from turning into a heading (Setext heading) in the viewer and Markdown editor. 글 아래 줄의 '-'·'='가 제목으로 바뀌지 않게 합니다.",
|
|
8
|
+
"author": "Seo Jinbae",
|
|
9
|
+
"homepage_url": "https://github.com/smlabor/joplin-plugin-no-setext-heading",
|
|
10
|
+
"repository_url": "https://github.com/smlabor/joplin-plugin-no-setext-heading",
|
|
11
|
+
"keywords": [
|
|
12
|
+
"markdown",
|
|
13
|
+
"heading",
|
|
14
|
+
"setext",
|
|
15
|
+
"korean"
|
|
16
|
+
],
|
|
17
|
+
"categories": [
|
|
18
|
+
"viewer",
|
|
19
|
+
"editor"
|
|
20
|
+
],
|
|
21
|
+
"platforms": [
|
|
22
|
+
"desktop",
|
|
23
|
+
"mobile"
|
|
24
|
+
]
|
|
25
|
+
}
|