@glifox/gnosis 0.0.19 → 0.0.20

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/LICENCE CHANGED
@@ -1,9 +1,9 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 feraxhp
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
-
7
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
-
1
+ MIT License
2
+
3
+ Copyright (c) 2025 feraxhp
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
9
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/README.md CHANGED
@@ -1,52 +1,52 @@
1
- # gnosis
2
- [![Publish Web App](https://github.com/glifox/gnosis/actions/workflows/Pages.yml/badge.svg)](https://github.com/glifox/gnosis/actions/workflows/Pages.yml)
3
-
4
- _GNOSIS_ is an extension-pack for codemirror to support WYSIWYG markdown edition.
5
-
6
- ## Why another **_WYSIWYG_ markdown editor**?
7
-
8
- I did a lot of online research, and found some _WYSIWYG markdown editors_. However, none of the Open Source options seemed good enough. The **Obsidian** editor is nice but not Open Source... _So I decided to start a new project_.
9
-
10
- ## Similar projects
11
-
12
- 1. [Inoxia](https://ixora.karawale.in/)
13
- 2. [Silverbullet](https://silverbullet.md/)
14
- 3. [Markword](https://github.com/fuermosi777/markword)
15
-
16
- ## TO-DO
17
-
18
- ### **Block-level**
19
- - [x] change: `paragraph`
20
- - [x] change: `heading`
21
- - [x] change: `hr`
22
- - [x] change: `list`
23
- - [x] change: `listitem`
24
- - [x] change: `checkbox`
25
- - [x] change: `code`
26
- - [x] change: `html`
27
- - [x] change: `blockquote`
28
- - [ ] change: `table`
29
-
30
- ### **Inline-level**
31
- - [x] change: `strong`
32
- - [x] change: `em`
33
- - [x] change: `codespan`
34
- - [x] change: `br`
35
- - [x] change: `del`
36
- - [x] change: `link`
37
- - [x] change: `image`
38
- - [x] change: `text`
39
- - [ ] change: `tags`
40
-
41
- ### Features
42
- - [x] change the way mk shows.
43
- - [x] Auto complete list enters
44
- - [x] Bulleds
45
- - [x] ++ Numeric
46
- - [x] doble enter -- indent
47
- - [x] Code highliting
48
-
49
- ## More ideas?
50
-
51
- Feel free to open an [issue](https://github.com/feraxhp/gnosis/issues)
52
- requesting new features.
1
+ # gnosis
2
+ [![Publish Web App](https://github.com/glifox/gnosis/actions/workflows/Pages.yml/badge.svg)](https://github.com/glifox/gnosis/actions/workflows/Pages.yml)
3
+
4
+ _GNOSIS_ is an extension-pack for codemirror to support WYSIWYG markdown edition.
5
+
6
+ ## Why another **_WYSIWYG_ markdown editor**?
7
+
8
+ I did a lot of online research, and found some _WYSIWYG markdown editors_. However, none of the Open Source options seemed good enough. The **Obsidian** editor is nice but not Open Source... _So I decided to start a new project_.
9
+
10
+ ## Similar projects
11
+
12
+ 1. [Inoxia](https://ixora.karawale.in/)
13
+ 2. [Silverbullet](https://silverbullet.md/)
14
+ 3. [Markword](https://github.com/fuermosi777/markword)
15
+
16
+ ## TO-DO
17
+
18
+ ### **Block-level**
19
+ - [x] change: `paragraph`
20
+ - [x] change: `heading`
21
+ - [x] change: `hr`
22
+ - [x] change: `list`
23
+ - [x] change: `listitem`
24
+ - [x] change: `checkbox`
25
+ - [x] change: `code`
26
+ - [x] change: `html`
27
+ - [x] change: `blockquote`
28
+ - [ ] change: `table`
29
+
30
+ ### **Inline-level**
31
+ - [x] change: `strong`
32
+ - [x] change: `em`
33
+ - [x] change: `codespan`
34
+ - [x] change: `br`
35
+ - [x] change: `del`
36
+ - [x] change: `link`
37
+ - [x] change: `image`
38
+ - [x] change: `text`
39
+ - [ ] change: `tags`
40
+
41
+ ### Features
42
+ - [x] change the way mk shows.
43
+ - [x] Auto complete list enters
44
+ - [x] Bulleds
45
+ - [x] ++ Numeric
46
+ - [x] doble enter -- indent
47
+ - [x] Code highliting
48
+
49
+ ## More ideas?
50
+
51
+ Feel free to open an [issue](https://github.com/feraxhp/gnosis/issues)
52
+ requesting new features.
package/dist/exports.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import { Language, LanguageSupport, LanguageDescription } from '@codemirror/language';
2
2
  import { MarkdownExtension } from '@lezer/markdown';
3
3
  import { Extension } from '@codemirror/state';
4
+ import { unsetMarks } from '../src/tags';
4
5
  import { HrPlugin } from '../src/plugins/block/hr/plugin';
5
6
  import { InlinePlugin } from '../src/plugins/inline/plugin';
6
7
  import { LinkPlugin } from './plugins/links/link/plugin';
@@ -23,5 +24,6 @@ interface MarkdownConfig {
23
24
  interface GnosisConfig {
24
25
  markdown?: MarkdownConfig;
25
26
  }
27
+ declare const IntrnalMarkdown: (config?: MarkdownConfig) => LanguageSupport;
26
28
  declare const gnosis: (conf?: GnosisConfig) => Extension[];
27
- export { gnosis, HrPlugin, InlinePlugin, LinkPlugin, ImagePlugin, ListPlugin, CodePlugin, HeadingPlugin, QuotePlugin, QuoteType, HtmlPlugin, };
29
+ export { IntrnalMarkdown as markdown, gnosis, HrPlugin, InlinePlugin, LinkPlugin, ImagePlugin, ListPlugin, CodePlugin, HeadingPlugin, QuotePlugin, QuoteType, HtmlPlugin, unsetMarks, };