mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-04 05:44:50 +00:00
SketchFab Media links #408
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @LukeTOBrien on GitHub (Oct 30, 2020).
Hello there
Do you think you could add SketchFab to your Media Extensions?
So you could have:
The embed code for SketchFab is much longer then YouTube though, for the above model the embed HTML is:
So you might have to trim this down.
SketchFab also has a REST API, so it could be possible to
HTTP.Getandawaitthe user name, description and other information of the model.What do you think?
@xoofx commented on GitHub (Oct 30, 2020):
It is a bit more involving than the media extensions that we have today as we don't perform any HTTP queries when parsing the Markdown document while your code above seems to require this.
It's a bit specific also, so for now, I think you can roll your own as Media extensions has some kind of extension mechanism via
IHostProviderand see how it goes. SketchFab might be too specific audience to include it for now...@LukeTOBrien commented on GitHub (Oct 30, 2020):
Okay doke, I will take a look at IHostProvider, thanks!