From 4795c8d95efda681f9fa560dd5a7a0f45714cc78 Mon Sep 17 00:00:00 2001 From: dannyrb Date: Tue, 28 May 2019 10:06:54 -0400 Subject: [PATCH] Fix codesandbox link --- docs/latest/deployment/index.md | 4 ++-- docs/latest/deployment/recipes/embedded-viewer.md | 9 +++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/latest/deployment/index.md b/docs/latest/deployment/index.md index 324a27c44..4df90267f 100644 --- a/docs/latest/deployment/index.md +++ b/docs/latest/deployment/index.md @@ -24,8 +24,7 @@ add a powerful medical imaging viewer to an existing web page using only a few include tags. - Read more about it here: [Embedded Viewer](./recipes/embedded-viewer.md) -- And check out our - [live demo on CodeSandbox](https://codesandbox.io/s/lrjoo3znxm) +- And check out our [live demo on CodeSandbox][code-sandbox] {% include "./_embedded-viewer-diagram.md" %} @@ -207,4 +206,5 @@ Please feel free to suggest or contribute your own recipes. [host-static-assets]: https://www.netlify.com/blog/2016/05/18/9-reasons-your-site-should-be-static/ [cors]: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS [code-flows]: https://medium.com/@darutk/diagrams-of-all-the-openid-connect-flows-6968e3990660 +[code-sandbox]: https://codesandbox.io/s/ohif-viewer-script-tag-usage-b3st9 diff --git a/docs/latest/deployment/recipes/embedded-viewer.md b/docs/latest/deployment/recipes/embedded-viewer.md index d35bf3dea..c3590f7b1 100644 --- a/docs/latest/deployment/recipes/embedded-viewer.md +++ b/docs/latest/deployment/recipes/embedded-viewer.md @@ -92,10 +92,9 @@ ReactDOM.render(app, document.getElementById('ohif-viewer-target')) > I'm having trouble getting this to work. Where can I go for help? -First, check out this fully functional -[CodeSandbox](https://codesandbox.io/s/ohif-viewer-script-tag-usage-b3st9) -example. If you're still having trouble, feel free to search or GitHub issues. -Can't find anything related your problem? Create a new one. +First, check out this fully functional [CodeSandbox][code-sandbox] example. If +you're still having trouble, feel free to search or GitHub issues. Can't find +anything related your problem? Create a new one. > When I include bootstrap, other styles on my page no longer work correctly. > What can I do? @@ -108,3 +107,5 @@ Have that working? Good. Now `embed` that new page using an This should produce the expected result while also protecting your page from any globally defined styles/scripts. + +[code-sandbox]: https://codesandbox.io/s/ohif-viewer-script-tag-usage-b3st9