GnoxNahte
d0ff3c66d8
Cleaning up code
...
- Add common iframe attributes in embedBase, avoiding duplicate code
- Partially fix reddit resizing bug by lazy loading it. Still occurs when there are multiple reddit embeds in the user's view
- support more imgur urls
- remove min-height from css to allow user-set heights
2024-03-21 15:23:41 +08:00
GnoxNahte
428ee62aed
Add support for getting options through alt text (Need code cleanup)
...
Users can put options in like
[w:75%, h:200px](https://example.com )
Also allows ignoring embeds (need some work to make it totally ignore though)
2024-03-20 23:49:34 +08:00
GnoxNahte
5e2167b131
add ignoring domains like youtube and twitter, so as to not conflict with Obsidian's embeds
2024-03-20 14:51:47 +08:00
GnoxNahte
80bc8bab5b
Clean up some live preview code
2024-03-18 22:12:06 +08:00
GnoxNahte
d636913110
Added base for live preview support. Need cleanup and testing
2024-03-17 21:00:38 +08:00
GnoxNahte
3b5494f4c8
Add support for Spotify embeds
2024-03-08 12:49:59 +08:00
GnoxNahte
ca27fbf44d
Add back reddit auto resize but with conditions
...
Only resize if there's only 1 reddit embed. Or the user can opt to resize automatically in the settings.
2024-03-06 15:35:40 +08:00
GnoxNahte
40ae8a410a
Add reddit embeds. Height resizing not working.
2024-03-06 12:19:49 +08:00
GnoxNahte
5f29c6df9d
Add Steam embeds
2024-03-06 10:39:30 +08:00
GnoxNahte
4f521faa71
Add support for more youtube urls, youtube shorts and capturing timestamp.
2024-03-06 09:58:29 +08:00
GnoxNahte
04513c920e
Added support for twitter and simplify codepen's code.
2024-03-05 23:12:54 +08:00
GnoxNahte
529c6c2b77
Initial commit
2024-03-05 08:42:56 +08:00