Markdown

Follow

Comments

28 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
    InteractiveModels

    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
    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

  • Avatar
    Louig464

    Hi, I am new to sketchfab and it has been great to work with thus far. I have been able to upload my virtual model to stetchfab and add the simple text annotations easily but what I would like to do is add images, like that shown in the markdown or annotate my model similar to https://labs.sketchfab.com/experiments/annotations-sync/.

    I can usually find my way around a computer, and programs, easily but I am not familiar/novice with coding, etc on computers. I acknowledge that the codes have been provided but I don't know how to add them to my sketchfab model. I am trying to work it out, and find where and how I have to add the codes, but I am getting lost and unable to add these so that I can provide annotations with images & diagrams. 

    I was hoping you could provide a step by step explanation/instruction of how I can achieve either of these forms of annotations. Thanks.

  • Avatar
    InteractiveModels

    @James Hi James - I'm having a hard time getting annotation markdown links to work in mobile view. In one annotation, I have both an image that links to a separate URL, and also a text link that directs to the same URL. Both the image and text links work beautifully on desktop but neither link recognizes mobile finger tap. The model acts as if the finger is pressing "through" the annotation onto the model such that you can rotate the model while sliding your finger on the annotation. I get the same results in Chrome and Firefox mobile browsers.

    Is this a known issue? Is there a workaround? Thanks for your help!

  • Avatar
    James

    Hi - I just tested this and the links worked correctly for me. What mobile device make/model and operating system are you using?

  • Avatar
    InteractiveModels

    @James Google Pixel 2 XL and Samsung Note 9.

  • Avatar
    James

    Thanks. Looks like someone on my team reproduced the issue and we'll be working on a fix.

  • Avatar
    sakanatik

    Hi. Are they still working? I can create them and visualize them in edition but they are not displayed.

  • Avatar
    James

    @sakanatik Sorry about that, we have a bug related to links in annotations. There's a fix coming soon, hopefully in the next few hours.

  • Avatar
    lmendelson

    Hey James, is it possible through a URL parameter or utilizing Markdown to force a link in an annotation to open in the same tab in the browser?

  • Avatar
    James

    Hey,

    I'm afraid it's not possible at the moment. All links in annotation will have target="_blank"

    What is the use case for opening in the same tab?

  • Avatar
    lmendelson

    With multiple annotations on my embedded models, I don't want my user to have way too many tabs open. I'd rather them be able to use the browser "back" button.

  • Avatar
    James

    Hmm ok, but that would require waiting for the model viewer to completely re-load and render each time, and also send you back to the beginning of the annotations.

  • Avatar
    lmendelson

    I see. I guess I wouldn't want that EVERY time, but a command to change it for certain cases would be nice :)

  • Avatar
    James

    Understood, I'll pass on the feedback!

Please sign in to leave a comment.