mirror of
https://github.com/Ellpeck/ObsidianJustSharePlease.git
synced 2024-11-29 21:38:34 +01:00
parent
6ca424eb47
commit
5ae82374ff
2 changed files with 8 additions and 1 deletions
|
@ -242,7 +242,7 @@ export default class JustSharePleasePlugin extends Plugin {
|
|||
let match: RegExpExecArray;
|
||||
while ((match = attachments.exec(text)) != null) {
|
||||
let alt = match[1] ?? "";
|
||||
let url = match[2] ?? match[3];
|
||||
let url = decodeURI(match[2] ?? match[3]);
|
||||
if (url.startsWith("http"))
|
||||
continue;
|
||||
try {
|
||||
|
|
|
@ -61,6 +61,13 @@ wikilink image!
|
|||
|
||||
![[Pasted image 20230816130420.png]]
|
||||
|
||||
image but with spaces in the name!
|
||||
|
||||
![](Pasted%20image%2020230816130420.png)
|
||||
|
||||
online image!
|
||||
![](https://ellpeck.de/res/me.jpeg)
|
||||
|
||||
nice
|
||||
|
||||
[^1]: Normal footnote!
|
||||
|
|
Loading…
Reference in a new issue