3 ms·
The comment/suggestion was different: ability to embed presentation inside a documentation ecosystem like MkDocs (similar to mermaid), optionally with unique UR
by johnx123-up 6y ago
The comment/suggestion was different: ability to embed presentation inside a documentation ecosystem like MkDocs (similar to mermaid), optionally with unique URL--and also without external hosting.
- abusedmedia 6y agoI don't know MKDocs but as far as I can see in the link you posted, it should be straightforward doing the same of the other libraries. I got curious, thus, I make a proof. Embedding a hosted presentation, it's just a matter of using an iframe: https://codepen.io/abusedmedia/pen/zYKBOXb https://codepen.io/abusedmedia/pen/zYKBOXb An here a test to avoid external hosting: https://codepen.io/abusedmedia/pen/YzGWPzY https://codepen.io/abusedmedia/pen/YzGWPzY The last one requires to download the libraries locally following the same example of flochart.js in MKDocsPlus. It would be nice if you can test it out.
- johnx123-up 6y agoYes, perfect. Minor feedback: 1. The presentation is not very obvious as it is lacking player kinda UI 2. Arrow in black background is also not obvious (I was keep clicking for sometime) 3. Player UI with fullscreen option and ability to hotlink (especially without external hosting) would be awesome
- abusedmedia 6y agoYeah, without style it might have this issue. I've added a couple of props in the script, you can set the same values present in the dropdown menu in Play tool. Fullscreen can be activating by pressing 'f' on a specific presentation. Btw I might add a more explicit UI, though. Out of curiosity, does MkDoc parse correctly the whole content without actually parsing the chunk for Presenta?
- johnx123-up 6y agoMkDocs won't as it is already based on markdown. I was referring to MkDocs+ (fork) as they have bundled mermaid, etc