HTML has a lot of excess code. But if you're using copycat, you can copy the file contents as Markdown. The new markdown plugin updates allows some use of wikitext, so you can now have the best of both worlds. Markdown, like wikitext, is very lightweight, and you lose the incredible bloat of HTML -- and the dangers of hidden code.
On Tuesday, March 23, 2021 at 12:18:38 AM UTC-7 Sapphireslinger wrote: > I like to save my favorite web articles to my note-taking tiddlywiki. > > For plain text I love Tiddlyclip. But when I want to preserve the > formatting I also use the firefox extension Copycat to copy and paste the > html of a selection into the tiddler (and I worry about the safety of > pasting who-knows-what code into a tiddler - but this is a side question). > > However, recently I discovered that the Brave browser on my Android mobile > has a button to download a webpage as an .mhtml file. > > Could I treat the downloaded .mhtml files like my external img files and > just call for them like calling for an external img, for example something > similar to [img[foo.mhtml]] or [ext[Open file|/foo/foo/foo.mhtml]]? > > That way the .mhtml files would be stored outside the tiddlywiki (no > bloat) and merely viewed when called for. Is there a way to do this? And is > it safer? > > * I tried [ext[Open file|/foo/foo/foo.mhtml]] and it just opened a page of > code, no website. (I was trying to access a downloaded .mhtml file using > Tiddlywiki on Firefox on my desktop computer running Linux Mint). > > * I tried renaming the link and the file to .html instead of .mhtml and it > just keeps "loading..." > > I tried opening the file directly on my computer (not going through > Tiddlywiki) by right-clicking on the file and choosing to open with > firefox, and it only works if the file extension has been changed to .html. > > I would be happy to hear what experiences people have had with .mhtml > files and Tiddlywiki. > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/1918b23d-497e-4e3e-883b-9c97ef11fe82n%40googlegroups.com.

