mirror of
https://github.com/marktext/marktext.git
synced 2025-05-03 01:09:23 +08:00

* Removed the space in 'Mark Text' (#2763) Literally just replaced all occurances of 'Mark Text' with 'MarkText' using sed. This is directly related to #2763. * Revert changes to .github directory Reverted changelog etc. * Added `cs` alias for `csharp` in code blocks (Fixes #2760) * Added error handler in the renderer process (should fix #2758) The `src/muya/lib/contentState/clickCtrl.js` file will now return if `document.querySelector` fails to find an element.
29 lines
983 B
Markdown
29 lines
983 B
Markdown
# Image support
|
|
|
|
MarkText can automatically copy your images into a specified directory or handle images from clipboard.
|
|
|
|
### Upload to cloud using selected uploader
|
|
|
|
Please see [here](IMAGE_UPLOADER_CONFIGRATION.md) for more information.
|
|
|
|
### Move to designated local folder
|
|
|
|
All images are automatically copied into the specified local directory that may be relative.
|
|
|
|
**Prefer relative assets folder:**
|
|
|
|
When this option is enabled, all images are copied relative to the opened file or the root directory when a project is opened. You can specify the path via the *relative image folder name* text box. The local resource directory is used if the file is not saved.
|
|
|
|
NB: The assets directory name must be a valid path name and MarkText need write access to the directory.
|
|
|
|
Examples for relative paths:
|
|
|
|
- `assets`
|
|
- `../assets`
|
|
- `.`: current file directory
|
|
- `assets/123`
|
|
|
|
### Keep original location
|
|
|
|
MarkText only saves images from clipboard into the specified local directory.
|