diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2024-10-08 11:37:43 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2024-10-08 12:04:29 +0800 |
commit | 48b3db2aa65f1e172085fbb40195a0c58a1f37e4 (patch) | |
tree | e80cea4da8d9b5ee3513ef3e51376532eea85c38 | |
parent | 953dcbfc453cc773b4077dd4f6fdab20a9ddbeb6 (diff) |
feat: update default contents
-rw-r--r-- | src/editor.mjs | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/editor.mjs b/src/editor.mjs index 81dd5a8..0e073ef 100644 --- a/src/editor.mjs +++ b/src/editor.mjs | |||
@@ -45,7 +45,8 @@ const toggleEditing = () => { | |||
45 | 45 | ||
46 | // Content values for editor | 46 | // Content values for editor |
47 | 47 | ||
48 | const defaultContent = `<br> | 48 | const defaultContent = |
49 | `<br> | ||
49 | 50 | ||
50 | > <big>Hello My Friend! This is DumbyMap!</big> | 51 | > <big>Hello My Friend! This is DumbyMap!</big> |
51 | 52 | ||
@@ -63,9 +64,10 @@ DumbyMap generates **interactive document with maps** from raw texts. | |||
63 | You can use it to: | 64 | You can use it to: |
64 | 65 | ||
65 | 1. [Roll a Dice] for a new map | 66 | 1. [Roll a Dice] for a new map |
66 | 2. Click on [GeoLink][example-geolink] for maps. Or Add a new one by **Right Click** on map. | 67 | 2. Hover on [GeoLink][example-geolink] to show point in maps. |
67 | 3. Add more contents into [Editor] by text in [Markdown] | 68 | 3. Add a new anchor by **Right Click** on a map, and **Right Click** on **Selected Text** to attach anchor |
68 | 4. Generated document is at left hand side, **Right click** for context menu. | 69 | 4. Add more contents into [Editor] by text in [Markdown] |
70 | 5. Generated document is at left hand side, **Right click** for context menu. | ||
69 | You can: | 71 | You can: |
70 | + Select content block for browsing | 72 | + Select content block for browsing |
71 | + Switch layouts for various use cases | 73 | + Switch layouts for various use cases |
@@ -80,9 +82,9 @@ If you want know more, take a look at subjects below: | |||
80 | 82 | ||
81 | <br> | 83 | <br> |
82 | 84 | ||
83 | > Have Fun ~ | 85 | > <big>Have Fun ~<big> |
84 | 86 | ||
85 | <br> | 87 | <br> |
86 | 88 | ||
87 | [Roll a dice]: #Click%20it! "=>.mde-roll" | 89 | [Roll a dice]: #Click%20it! "=>.mde-roll" |
88 | [example-geolink]: geo:24,121?xy=121,24 | 90 | [example-geolink]: geo:24,121?xy=121,24 |