-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: figures with open in tab link (#1030)
In the main branch you can open diagrams in a new tab. This commit brings them back. - Improve styling of embedded svgs. - Use semantic figure and figurecaption elements. - Add open in tab link - Pull svgs and source files into the intro section as appropriate License: MIT Signed-off-by: Oli Evans <oli@tableflip.io>
- Loading branch information
Showing
16 changed files
with
1,381 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
strict digraph G { | ||
node [shape=box] | ||
graph [ranksep="1", nodesep="1"] | ||
|
||
{ // editable inputs | ||
node [fillcolor=lightyellow, style=filled] | ||
".md" | ||
".ipld" | ||
".go" | ||
".orient" | ||
".org" | ||
".dot" | ||
} | ||
|
||
{ // outputs | ||
node [fillcolor=lightgreen, style=filled] | ||
"[website]" | ||
"spec.pdf" | ||
} | ||
|
||
{ // programs | ||
node [shape=none] | ||
"emacs" | ||
"dot" | ||
"orient" | ||
"bin/codeGen" | ||
"hugo" | ||
"go test" | ||
"make website" | ||
"make pdf" | ||
} | ||
|
||
|
||
".org" -> "<emacs>" -> ".md" | ||
".md" -> "hugo build" -> ".html" | ||
|
||
".orient" -> "orient" -> "<emacs>" -> ".md" | ||
".orient" -> "orient" -> ".dot" | ||
".orient" -> "orient" -> ".html" | ||
|
||
".dot" -> "dot" -> ".svg" | ||
|
||
".ipld" -> "bin/codeGen" -> ".go" | ||
".go" -> "go test" -> "[ok]" | ||
".go" -> "hugo build" -> ".html" | ||
|
||
".html" -> "make website" -> "[website]" | ||
".svg" -> "make website" -> "[website]" | ||
|
||
".md" -> "make pdf" -> "spec.pdf" | ||
".svg" -> "make pdf" -> "spec.pdf" | ||
} |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.