mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-12 08:54:00 +02:00
d9c15b84d0
* md importer: first pass import attachment resources with markdown files * md importer: import resources from md - no unneeded saves, check if files exist, regex name * md importer: test import of local files as resources, separate method for importing linked files, comment regex matching md tags * md importer: move stateful regex to method scope, remove spurius await * md importer: lint * md importer: respond to PR comments: remove test nesting, test sample, check if path is dir, use shim.fsDriver * md importer: use file-path methods for getting attachment path * md importer: use extractImageUrls helper, test for file with zero links * md importer: try catch around importLocalImages, improve test * md importer: importing attached images cover case where link also appears elsewhere in doc * md importer: only create 1 resource if note contains duplicate links, test * md importer: remove log * md importer: remove use of lodash
14 lines
270 B
Markdown
14 lines
270 B
Markdown
# Markdown
|
|
|
|
lorem ipsum ![alt text here](../support/photo.jpg)
|
|
- [ ] check!
|
|
- [ ] boxes!
|
|
|
|
![alt text here](../support/photo-two.jpg)ipsum lorem
|
|
|
|
**strong text**
|
|
![does not exist](does_not_exist.png) lorem ipsum
|
|
|
|
**some directory**
|
|
![a directory](../support) lorem ipsum
|