typemill / typemill

Typemill is a lightweight, flat-file CMS designed for simple, fast, and flexible website and eBook creation using Markdown.
https://typemill.net
MIT License
427 stars 60 forks source link

Possibility to embed Sketchfab via HTML #387

Closed crixus96 closed 1 year ago

crixus96 commented 1 year ago

Hello all,

Thank you very much for the great CMS Typemill. I have tried a few different CMS. I got stuck with Typemill and am currently building my site with it.

Currently I have the requirement to integrate a 3D model from Sketchfab via HTML. I have not yet been successful with HTMLopen and HTMLclose. https://github.com/typemill/typemill/issues/367

Furthermore, I have read that the integration of HTML is not desired. https://github.com/typemill/typemill/issues/109

Is there currently a "workaround" to integrate HTML nevertheless?

I think the CMS is great for my purposes and would like to continue using it.

Thank you for your help and best regards

trendschau commented 1 year ago

Hi Crixus,

such integrations should be easily possible with a small plugin and a shortcode. It requires some small coding-skills. https://typemill.net/plugin-developers/shortcodes

Integration of html is only possible with the htmlOpen/htmlClose button. I think about native integration in Typemill 2 with something like htmlopen/htmlclose, but that is lower prio and V2 takes some time.

crixus96 commented 1 year ago

Hi trendschau,

I have done it myself! It was really easier than I thought: https://github.com/crixus96/typemill-sketchfab/tree/main/sketchfab

I have no idea about PHP, but I was able to follow HTMLopen ;).

Thanks for your commitment to Typemill and good luck for the 2 version!

Many greetings