mirror of
https://github.com/Ellpeck/ObsidianJustSharePlease.git
synced 2024-05-31 23:03:36 +02:00
cleanup
This commit is contained in:
parent
fa85bd8d93
commit
ad6b1a223f
|
@ -193,7 +193,7 @@ export default class JustSharePleasePlugin extends Plugin {
|
|||
|
||||
// embed attachments directly
|
||||
let attachments = /!\[(.*)]\((.+)\)|!\[\[(.+)]]/g;
|
||||
let match;
|
||||
let match: RegExpExecArray;
|
||||
while ((match = attachments.exec(text)) != null) {
|
||||
let alt = match[1] ?? "";
|
||||
let url = match[2] ?? match[3];
|
||||
|
|
1
test-vault/.obsidian/app.json
vendored
1
test-vault/.obsidian/app.json
vendored
|
@ -1 +0,0 @@
|
|||
{}
|
Loading…
Reference in a new issue