retold-content-system 1.0.6 → 1.0.9
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/{build-codejar-bundle.js → build/build-codejar-bundle.js} +4 -2
- package/{build-codemirror-bundle.js → build/build-codemirror-bundle.js} +4 -2
- package/html/codemirror-bundle.js +183 -77
- package/html/edit.html +7 -0
- package/html/index.html +7 -0
- package/html/preview.html +7 -0
- package/package.json +16 -21
- package/source/cli/ContentSystem-Server-Setup.js +1 -1
- package/{server.js → source/server/Simple-Server.js} +8 -7
- package/source/views/PictView-Editor-Layout.js +25 -0
- package/source/views/PictView-Editor-MarkdownReference.js +26 -0
- package/web-application/codemirror-bundle.js +183 -77
- package/web-application/edit.html +7 -0
- package/web-application/index.html +7 -0
- package/web-application/js/pict.min.js +2 -2
- package/web-application/js/pict.min.js.map +1 -1
- package/web-application/preview.html +7 -0
- package/web-application/retold-content-system.compatible.js +333 -259
- package/web-application/retold-content-system.compatible.js.map +1 -1
- package/web-application/retold-content-system.compatible.min.js +6 -6
- package/web-application/retold-content-system.compatible.min.js.map +1 -1
- package/web-application/retold-content-system.js +237 -163
- package/web-application/retold-content-system.js.map +1 -1
- package/web-application/retold-content-system.min.js +13 -13
- package/web-application/retold-content-system.min.js.map +1 -1
- package/docs/.nojekyll +0 -0
- package/docs/1772209863522-Editor-Overview.png +0 -0
- package/docs/README.md +0 -24
- package/docs/_cover.md +0 -16
- package/docs/_sidebar.md +0 -16
- package/docs/_topbar.md +0 -6
- package/docs/cli.md +0 -119
- package/docs/css/docuserve.css +0 -73
- package/docs/editor-guide.md +0 -139
- package/docs/getting-started.md +0 -80
- package/docs/index.html +0 -39
- package/docs/keyboard-shortcuts.md +0 -40
- package/docs/retold-catalog.json +0 -81
- package/docs/retold-keyword-index.json +0 -19
- package/docs/topics.md +0 -83
- /package/{codejar-entry.js → build/codejar-entry.js} +0 -0
- /package/{codemirror-entry.js → build/codemirror-entry.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/**
|
|
3
3
|
* Build script to bundle CodeJar + highlight.js into a single browser-compatible file.
|
|
4
|
-
* Run: node build-codejar-bundle.js
|
|
4
|
+
* Run: node build/build-codejar-bundle.js
|
|
5
5
|
*
|
|
6
6
|
* This creates html/codejar-bundle.js which exposes window.CodeJarModules
|
|
7
7
|
* with { CodeJar, hljs }.
|
|
@@ -9,11 +9,13 @@
|
|
|
9
9
|
const { build } = require('esbuild');
|
|
10
10
|
const path = require('path');
|
|
11
11
|
|
|
12
|
+
const tmpProjectRoot = path.join(__dirname, '..');
|
|
13
|
+
|
|
12
14
|
build(
|
|
13
15
|
{
|
|
14
16
|
entryPoints: [path.join(__dirname, 'codejar-entry.js')],
|
|
15
17
|
bundle: true,
|
|
16
|
-
outfile: path.join(
|
|
18
|
+
outfile: path.join(tmpProjectRoot, 'html', 'codejar-bundle.js'),
|
|
17
19
|
format: 'iife',
|
|
18
20
|
globalName: 'CodeJarModules',
|
|
19
21
|
platform: 'browser',
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/**
|
|
3
3
|
* Build script to bundle CodeMirror v6 into a single browser-compatible file.
|
|
4
|
-
* Run: node build-codemirror-bundle.js
|
|
4
|
+
* Run: node build/build-codemirror-bundle.js
|
|
5
5
|
*
|
|
6
6
|
* This creates html/codemirror-bundle.js which exposes window.CodeMirrorModules
|
|
7
7
|
* with { EditorView, EditorState, Decoration, ViewPlugin, WidgetType, extensions }.
|
|
@@ -9,11 +9,13 @@
|
|
|
9
9
|
const { build } = require('esbuild');
|
|
10
10
|
const path = require('path');
|
|
11
11
|
|
|
12
|
+
const tmpProjectRoot = path.join(__dirname, '..');
|
|
13
|
+
|
|
12
14
|
build(
|
|
13
15
|
{
|
|
14
16
|
entryPoints: [path.join(__dirname, 'codemirror-entry.js')],
|
|
15
17
|
bundle: true,
|
|
16
|
-
outfile: path.join(
|
|
18
|
+
outfile: path.join(tmpProjectRoot, 'html', 'codemirror-bundle.js'),
|
|
17
19
|
format: 'iife',
|
|
18
20
|
globalName: 'CodeMirrorModules',
|
|
19
21
|
platform: 'browser',
|