marktext/src/renderer
Lee Holmes 5ffc026a28 This change adds several features to make it easier to write Markdown articles that desire server-based paths (such as /images/my_image.png).
1) There is now a new preference page under images for "Maintaining server paths". You specify a server path (such as /images/) and a local path (such as c:\hugo\static\images), and
Marktext will do the right mapping internally. Image previews will come from the images on your computer, while the content stored in the document will represent the corresponding server paths.
Full documentation has been added to IMAGES.md.
2) Path variables (like ${filename}) have been expanded to support year, month, and day. This helps prevent filename collisions and is common in many blogging platforms.
3) Pasting images and dragging them into Marktext supports this path mapping as well, moving them to the local path as appropriate
4) Image imports (pasting and or dragging) now retain the source image file name if possible, only using the image hash if there is a conflict. Images with names are easier to manage and show up
appropriately in search engines
4) The image edit dialog now has a 'Rename' tab so that you can rename the images to something more specific when they are just pasted from the clipboard. This simplifies the previous workflow that
used to require editing the markdown and renaming the file in the filesystem manually.

There is also now a 'User Notification Dialog' component to let Marktext communicate with the user about error conditions.
2024-01-19 18:42:50 -08:00
..
assets feat: update keybindings icon (#2919) 2022-01-24 00:14:45 +01:00
axios Fix Axios http adapter and update deps (#1989) 2020-03-21 09:02:01 +08:00
bus feat: auto load file when file content changed 2017-12-12 17:40:56 +08:00
codeMirror Update build tools (#2814) 2022-01-02 18:48:38 +08:00
commands Replace node-spellchecker with Electron builtin spell checker (#2895) 2022-03-27 11:27:39 +08:00
components This change adds several features to make it easier to write Markdown articles that desire server-based paths (such as /images/my_image.png). 2024-01-19 18:42:50 -08:00
contextMenu Replace node-spellchecker with Electron builtin spell checker (#2895) 2022-03-27 11:27:39 +08:00
mixins Opti: add loading page when init page (#1303) 2019-09-01 09:57:58 +08:00
node Upgrade to N-API and Electron 11 (#2422) 2020-12-18 18:25:59 +08:00
pages This change adds several features to make it easier to write Markdown articles that desire server-based paths (such as /images/my_image.png). 2024-01-19 18:42:50 -08:00
prefComponents This change adds several features to make it easier to write Markdown articles that desire server-based paths (such as /images/my_image.png). 2024-01-19 18:42:50 -08:00
router Replace node-spellchecker with Electron builtin spell checker (#2895) 2022-03-27 11:27:39 +08:00
services This change adds several features to make it easier to write Markdown articles that desire server-based paths (such as /images/my_image.png). 2024-01-19 18:42:50 -08:00
spellchecker Replace node-spellchecker with Electron builtin spell checker (#2895) 2022-03-27 11:27:39 +08:00
store This change adds several features to make it easier to write Markdown articles that desire server-based paths (such as /images/my_image.png). 2024-01-19 18:42:50 -08:00
util This change adds several features to make it easier to write Markdown articles that desire server-based paths (such as /images/my_image.png). 2024-01-19 18:42:50 -08:00
bootstrap.js Replace node-spellchecker with Electron builtin spell checker (#2895) 2022-03-27 11:27:39 +08:00
config.js Fix quick open bug and freeze constants to avoid accidental mutation (#2323) 2020-11-27 13:59:56 +01:00
jsconfig.json Fix code intellisense and Vetur (#2988) 2022-02-07 18:55:54 +08:00
main.js Add experimental spellchecker (#1424) 2019-10-17 15:54:09 +08:00