obgnail/typora_plugin

TwentyTwenty JS Support

Closed this issue · 6 comments

Please support it:
https://zurb.com/playground/twentytwenty

by the way, GOOD JOB !

@CatOnly

Thanks for your feedback!

How would you like to introduce TwentyTwentyJS into typora_plugin? As a code block language, or something else?

Make it as a button to create a template html code to quick insert it. So we can easily insert it into the table.

Due to Typora's security policy, any script tags within the text will be filtered out, making it impossible to implement this feature using pure HTML.

Try label iframe, it can be used in typroa (Windows only, Mac OS block the iframe's JS for Cross-domain)

I am not a front-end programmer. I'm unsure how to Implement this requirement using the <iframe> element. Could you provide an example?

  • The <iframe>'s src attribute should reference a separate HTML file, rather than containing embedded HTML code directly. This makes it dependent on an external resource.
  • Due to Typora's security policy, iframes will not be able to access local images, which greatly reduces the usefulness of this feature when using pure HTML.

reference:typora.io - Embed Video, Media or Web Contents

I'm closing this issue for now due to inactivity. If you have any new ideas or updates, feel free to drop a comment below.