Markdown

Follow

Comments

15 comments

  • Avatar
    yshaya

    Is there any way to adjust the size of images shown in annotations? As I read through the documentation of Markdown I couldn't find such options, but would be happy to know any tricks. 

  • Avatar
    James

    @yshaya - Not at the moment, images will fill with width.

  • Avatar
    bematrix

    This is great to learn! Is it possible to have links and images in the same annotation?

    EDIT: Answered my own question! You can add links, images and plain text in annotation, just watch out for 256 character limit (hint: url shorteners help)

  • Avatar
    James

    @bematrix - Yep! Glad you figured it out :)

    You can also combine the different markdown items together, for example, an image that is a link:

     [![](link/to/img)](link/to/page)

  • Avatar
    Optics_Balzers_AG

    I've thought it would be cool to have one click “Zoom out / Zoom in” function for the images shown in annotations.

  • Avatar
    holliday

    Hi, has there been any progress in adjusting the sizes of images within annotations, or adjusting the sizes of annotation boxes so that larger images can show up using Markdown? We're interested in making the pictures larger for anatomical atlases such as at this page: http://bit.ly/2suXgNl. Thanks

     

  • Avatar
    James

    Hi @holliday,

    I'm afraid there's been no progress on that feature yet. As above, you can create a link to the full version as a workaround.

  • Avatar
    jwillow

    Hi, we're trying to call a functions on the page when the user clicks on an embedded image, like the second notation here: https://sketchfab.com/models/f73caed4328e4af7b5411001ca1a5de5

    Normally markdown allows javascript code, like this:

    [markdown link](javascript:alert("foo");)

    I'm guessing this is not permitted in your markdown? Thanks.

  • Avatar
    James

    Hi @jwillow

    Sorry, that's correct. JavaScript is not permitted in our Markdown implementation. It would represent to great a security risk.

  • Avatar
    MakaroniSiri

    Hi, I was wondering if it was possible to embed images from files? Is it a must to add an html link, or is it possible to create one for the image?

    Thanks : )

  • Avatar
    James

    Hi,

    We don't support uploading your own image files. You'll need to host the image somewhere else (e.g. Imgur)

  • Avatar
    wingsoverwinston

    Has anyone else reported not being able to view models with Markdown annotations that are embedded in Wix websites? On Android, both Firefox and Chrome browsers yield errors. Android presents a WebGL error, and Chrome simply won't load the model. This model works fine when viewed via my Sketchfab account though at Sketchfab.com.

  • Avatar
    James

    @wingsoverwinston Hmm that sounds strange. Can you please send me a link to an example Wix site where this is happening?

  • Avatar
    wingsoverwinston

    Hi James - http://www.wingsover.ws/benton-test

  • Avatar
    James

    Thanks! It's working on my end:

    I don't think it has anything to do with the Markdown from what I can see. This model is quite heavy, over 3 million polygons. I suspect it's just too much for your device/browser, especially a mobile device.

    Also, you uploaded a 16k texture, but the maximum we render is 8k (8192 x 8192), so your full resolution texture is never used. You can read more about performance here:

    https://help.sketchfab.com/hc/en-us/articles/201766675-Viewer-Performance

    By the way, it's against our Terms of Service to hide the Sketchfab logo/watermark/link in your embed like that. The Business account allows you to remove the external link from the logo, and the Enterprise account allows you to remove the logo completely.

    https://sketchfab.com/plans

Please sign in to leave a comment.