Looking at it there are 4 things we need to tell the codesandbox tag in order to get this to work.
We need to tell it:
github
modularcoder/tutorial-react-tree-menu
tree/master
stage4-react-router
The codesandbox tag differs from the jsfiddle and codepen variants in that it only accepts an ID and won't try and work it out from the URL.
I think if we were to add this functionality we would want to be able to take a full URL and extrapolate from that.
What about adding support for these type of ids to validation?
github/{userName}/{repoName}[/optional/part/to/dir]
So wondering if extending codesandbox ID validation regexp will make it work github.com/forem/forem/blob/master...
After looking ad liqud _codesandbox partial render, I suppose if just the tag regexp validation would be extended, this might work out of the box.
github.com/forem/forem/blob/master...
So basically it would be allowing github/{whatever} type of ids validation
github/{whatever}
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
Let's Build Forem
Looking at it there are 4 things we need to tell the codesandbox tag in order to get this to work.
We need to tell it:
github
and so not to expect an ID.modularcoder/tutorial-react-tree-menu
tree/master
stage4-react-router
The codesandbox tag differs from the jsfiddle and codepen variants in that it only accepts an ID and won't try and work it out from the URL.
I think if we were to add this functionality we would want to be able to take a full URL and extrapolate from that.
What about adding support for these type of ids to validation?
So wondering if extending codesandbox ID validation regexp will make it work
github.com/forem/forem/blob/master...
After looking ad liqud _codesandbox partial render, I suppose if just the tag regexp validation would be extended, this might work out of the box.
github.com/forem/forem/blob/master...
So basically it would be allowing
github/{whatever}
type of ids validation