About Blocks – bl.ocks.org
Posted by jpluimers on 2018/12/20
[WayBack] About Blocks – bl.ocks.org is so cool:
Bl.ocks (pronounced “Blocks”) is a simple viewer for sharing code examples hosted on GitHub Gist.
…
The main source for your example is in
index.html
. This file can contain relative links to other files in your Gist, such as images, scripts or stylesheets. And of course you can use absolute links, such as CDN-hosted D3, jQuery or Leaflet. To explain your example, add aREADME.md
written in Markdown. (You can omit theindex.html
if you just want to write, too.)
[WayBack] Code-only-Blocks are cool too:
When your Gist is missing an
index.html
file, will hide the example iframe but continue to display everything else.
Just compare these:
- https://bl.ocks.org/jpluimers/69cee526889de173523ff3d687dc2bfb
- https://gist.github.com/jpluimers/69cee526889de173523ff3d687dc2bfb
–jeroen
Leave a Reply