mirror of
https://github.com/Ellpeck/ObsidianJustSharePlease.git
synced 2024-11-30 05:48: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;
|
let match: RegExpExecArray;
|
||||||
while ((match = attachments.exec(text)) != null) {
|
while ((match = attachments.exec(text)) != null) {
|
||||||
let alt = match[1] ?? "";
|
let alt = match[1] ?? "";
|
||||||
let url = match[2] ?? match[3];
|
let url = decodeURI(match[2] ?? match[3]);
|
||||||
if (url.startsWith("http"))
|
if (url.startsWith("http"))
|
||||||
continue;
|
continue;
|
||||||
try {
|
try {
|
||||||
|
|
|
@ -61,6 +61,13 @@ wikilink image!
|
||||||
|
|
||||||
![[Pasted image 20230816130420.png]]
|
![[Pasted image 20230816130420.png]]
|
||||||
|
|
||||||
|
image but with spaces in the name!
|
||||||
|
|
||||||
|
![](Pasted%20image%2020230816130420.png)
|
||||||
|
|
||||||
|
online image!
|
||||||
|
![](https://ellpeck.de/res/me.jpeg)
|
||||||
|
|
||||||
nice
|
nice
|
||||||
|
|
||||||
[^1]: Normal footnote!
|
[^1]: Normal footnote!
|
||||||
|
|
Loading…
Reference in a new issue