Using Markdown

Follow

Comments

66 comments

  • Avatar
    theovasilis (Sketchfab Profile)

    Hi, a +1 for controlling the size of the displayed images relative to the viewer. In most of my cases they need to be bigger. Cheers!

    0
    Comment actions Permalink
  • Avatar
    RoseThys (Sketchfab Profile)

    @James

    I could use 'target="_self" instead of blank' as well.
    I am making a game for six year olds:

    https://sketchfab.com/models/f518b961f41049ca8ec1378993c2a3d8/embed

    And I am going to use a lot of links (like n° 4) for little games (e.g. drawing).
    But if the link always creates a new tab, there will be too many tabs at the end of the game (4 levels x 5 links=20!).
    This game is part of a bigger project and if all goes well, it will be used by hospitals in Belgium.
    Can you help me?
    Thank you in advance

    0
    Comment actions Permalink
  • Avatar
    James (Sketchfab Profile)

    Hi there,

    I'm afraid it's not possible to force (and not planned to allow) links in Annotations to target _self. Even if it were, the link would open in the embedded iframe itself, not in the main browser tab.

    You could build something more custom using the Viewer API, though!

    https://sketchfab.com/developers/viewer

    0
    Comment actions Permalink
  • Avatar
    RoseThys (Sketchfab Profile)

    Thank you for your answer! 
    I found a workaround: I gave the little games that open in another tab a 'back' button (for when you are finished playing).
    This button closes the tab of the little game, so you go back to the previous tab (sketchfab).

    Is it in any way possible that all the annotations are opened at the same time and from te beginning?
    I know you can open one with ?annotation = x, but I guess you can only do this with one annotation?

    0
    Comment actions Permalink
  • Avatar
    James (Sketchfab Profile)

    Cool, nice workaround.

    I'm afraid only one annotation can be open at a time. An annotation is associated with a camera position, and the camera cannot be in more than one position at the same time :)

    0
    Comment actions Permalink
  • Avatar
    mhogue (Sketchfab Profile)

    Hi! Is it possible to use Markdown to create annotations that are simply a few seconds of audio clips?

    0
    Comment actions Permalink
  • Avatar
    James (Sketchfab Profile)

    @mhogue Hi! I'm afraid there's no support for adding audio or other rich media to annotations at the moment. We do support adding sounds in the viewer, but they currently can't be synced to an annotation.

    https://help.sketchfab.com/hc/en-us/articles/115000922746-Sounds

    0
    Comment actions Permalink
  • Avatar
    thukon (Sketchfab Profile)

    Can I currently create tables using markdown within annotations? I see its possible in the "Extra Markdown Specification" but I cant seem to get it working in the model.

    0
    Comment actions Permalink
  • Avatar
    James (Sketchfab Profile)

    I'm afraid tables are not supported in descriptions or annotations at the moment. What's the use case?

    0
    Comment actions Permalink
  • Avatar
    thukon (Sketchfab Profile)

    @James The use case would be like the example shown below.

    0
    Comment actions Permalink
  • Hello, Is it possible to change the colour of the text in the annotation using markdown?

    0
    Comment actions Permalink
  • Avatar
    James (Sketchfab Profile)

    Not at the moment, sorry!

    0
    Comment actions Permalink
  • Avatar
    MANiacos (Sketchfab Profile)

    Hello James,

    I would like to know if it's possible to zoom an image so if it has a text you can read it clearly. If not, is there another way?

    Thanks!

    0
    Comment actions Permalink
  • Avatar
    lmendelson (Sketchfab Profile)

    MANiacos - I've done it where the image itself links to a large view in its own tab using the following syntax:

    [ ! [ ] (image url) ] (image url)

    0
    Comment actions Permalink
  • Avatar
    James (Sketchfab Profile)

    Yep, that's exactly what I was going to recommend.

    0
    Comment actions Permalink
  • Avatar
    MANiacos (Sketchfab Profile)

    lmendelson James

    I've tried and it works! Thanks!

    0
    Comment actions Permalink
  • Avatar
    matsgaohlsson (Sketchfab Profile)

    I have just learned how to get images visable in an annotation.

    Then I tried to make it clickable by using the syntax [![](link/to/image)](https://.../../imagename.jpg). The link to the image is still there but the image in the annotation frame is exchange by a boring thumbnail symbol. How to avoid this result? 

     

     

    0
    Comment actions Permalink
  • Avatar
    matsgaohlsson (Sketchfab Profile)

    I found the solution by reading Imendelson´s recipe. Thanks!

    0
    Comment actions Permalink
  • Avatar
    kerkstra (Sketchfab Profile)

    Is it Possible to add a annotation with an image as the title to a link?

    0
    Comment actions Permalink
  • Avatar
    James (Sketchfab Profile)

    Sorry I'm not sure I understand the question. You want the image to link somewhere? You want an image in the title of the annotation?

    0
    Comment actions Permalink
  • Avatar
    kerkstra (Sketchfab Profile)

    Like in an annotation I want to add links to download a kinda file. I want to have an icon or image of that kinda file and when you click on it, it brings you to the HTML where it will download the file. If that makes sense? Also is there way to link a pdf in an annotation? 

    0
    Comment actions Permalink
  • Avatar
    James (Sketchfab Profile)

    Got it. You can link to pretty much anything you want, so you can just host a PDF somewhere and put its URL in the annotation, for example: https://sketchfab.zendesk.com/hc/article_attachments/360078346751/PBR_Guide_2018__20_page_test_.pdf

    0
    Comment actions Permalink
  • Avatar
    kerkstra (Sketchfab Profile)

    Thanks, but back to the first question. I want a image or logo of something in the annotation and when you click it, it takes you to an HTML. Sorry Im very new to Sketchfab

    0
    Comment actions Permalink
  • Avatar
    James (Sketchfab Profile)

    No worries! This is more about Markdown syntax in general, not really something specific to Sketchfab.

    You make a link in markdown like this:

    [Text](http://example.net/)

    And you embed an image like this:

    ![](https://website.com/path/to/img.jpg)

    So, you can combine these two things to make an image that is a link. Just insert the image instead of Text:

    [![](https://website.com/path/to/img.jpg)](http://example.net/)
    0
    Comment actions Permalink
  • Avatar
    kerkstra (Sketchfab Profile)

    GREAT!! I got it to work, thank you. One last thing, is there a way to make the picture or icon smaller or larger?

    0
    Comment actions Permalink
  • Avatar
    James (Sketchfab Profile)

    Afraid not, it will always just fill the width. For that I might just put a text link "PDF" below the image?

    0
    Comment actions Permalink
  • Avatar
    spectorandco (Sketchfab Profile)

    Hi James,

    Is it possible to open a link in the annotation in a new popup window instead of a new tab?

    0
    Comment actions Permalink
  • Avatar
    James (Sketchfab Profile)

    Hello,

    All links in annotations have the target="_blank" attribute set. That means they will open in a new tab or a new window, but as far as I know, it depends on on your browser settings.

    If you want more robust control over the experience. I recommend looking into the Viewer API: https://sketchfab.com/developers/viewer

    Here's an example of opening popups on top of the 3D viewer (go through a few steps of the tour, click a furniture item, or click a "Play" object: https://www.sandlerseating.com/neocon

    0
    Comment actions Permalink
  • Avatar
    kerkstra (Sketchfab Profile)

    In my annotation, if I wanted to type out #4 Rebar to be Used. How do I get the "#" to show up?

    0
    Comment actions Permalink
  • Avatar
    James (Sketchfab Profile)

    If you put a backslash (`\`) in front of the hash, it should "escape" it and put a literal hash instead of turning it into a markdown header.

    1
    Comment actions Permalink

Please sign in to leave a comment.