mirror of
https://github.com/runofthemillgeek/swarnam-obsidian.git
synced 2024-11-16 15:30:16 +00:00
Compare commits
6 Commits
a8d46f559b
...
9dd05e2c2d
Author | SHA1 | Date | |
---|---|---|---|
9dd05e2c2d | |||
f00a020e4a | |||
b817ad02d9 | |||
1c08b27e2e | |||
e22d203f7f | |||
98d096535c |
@ -4,9 +4,11 @@
|
|||||||
|
|
||||||
# Swarnam
|
# Swarnam
|
||||||
|
|
||||||
A no-frills web playground plugin for Obsidian.
|
A no-frills web playground plugin for Obsidian. Inspired by [MDN playgrounds](https://developer.mozilla.org/en-US/docs/Web/CSS/grid).
|
||||||
|
|
||||||
|
<sup><i>Swarnam (സ്വർണം)</i> means <i>gold</i> in Malayalam.<br/></sup>
|
||||||
|
<sup>(icon credit: [3dicons](https://3dicons.co))</sup>
|
||||||
|
|
||||||
<small>(icon credit: [3dicons](https://3dicons.co))</small>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
## Demo
|
## Demo
|
||||||
|
2
main.ts
2
main.ts
@ -16,9 +16,7 @@ function bytesToBase64(bytes: Uint8Array) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function asBase64(text: string) {
|
function asBase64(text: string) {
|
||||||
console.log({ text });
|
|
||||||
const b64 = bytesToBase64(new TextEncoder().encode(text));
|
const b64 = bytesToBase64(new TextEncoder().encode(text));
|
||||||
console.log(console.log(new TextDecoder().decode(base64ToBytes(b64))));
|
|
||||||
return b64;
|
return b64;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
"id": "swarnam",
|
"id": "swarnam",
|
||||||
"name": "Swarnam",
|
"name": "Swarnam",
|
||||||
"version": "1.0.1",
|
"version": "1.0.1",
|
||||||
"minAppVersion": "0.15.0",
|
"minAppVersion": "1.5.12",
|
||||||
"description": "A no-frills web playground plugin for Obsidian.",
|
"description": "A no-frills web playground plugin for Obsidian.",
|
||||||
"author": "runofthemillgeek",
|
"author": "runofthemillgeek",
|
||||||
"authorUrl": "https://dg.sangeeth.dev",
|
"authorUrl": "https://dg.sangeeth.dev",
|
||||||
"fundingUrl": "https://dg.sangeeth.dev",
|
"fundingUrl": "https://www.buymeacoffee.com/runofthemillgeek",
|
||||||
"isDesktopOnly": true
|
"isDesktopOnly": true
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user