Skip to content

Commit 1db880c

Browse files
author
dmullis
committed
Update examples/*.svg and README.md, now generated by one-line script
1 parent cfa5dcf commit 1db880c

File tree

10 files changed

+166
-148
lines changed

10 files changed

+166
-148
lines changed

README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,21 @@
11
# GoAT: Go ASCII Tool
2+
<!--
3+
NOTE to maintainers
4+
---
5+
SVG examples/ regeneration.
6+
go test -run . -v -write
7+
8+
Github home page README.md, specific to $USER:
9+
sed "s,{{\.Root}},https://cdn.rawgit.com/${USER}/goat/main," README.md.tmpl >README.md
10+
11+
Local preview of home page:
12+
sed "s,https://cdn.rawgit.com/blampe/goat/main,.," README.md.tmpl >README.md
13+
# See https://github.github.com/gfm/#introduction
14+
(echo '<!DOCTYPE html>'; marked -gfm README.md) >README.html
15+
16+
The @media query from SVG may be verified in Firefox by switching between Themes
17+
"Light" and "Dark" in Firefox's "Add-ons Manager".
18+
-->
219

320
This is a Go implementation of [markdeep.mini.js]'s ASCII diagram
421
generation.
@@ -46,7 +63,7 @@ By default, it writes in [SVG] format, unless another format is specified with
4663

4764
## Examples
4865

49-
Here are some SVGs and the ASCII input they were generated from:
66+
Here are some SVGs and the UTF-8 input they were generated from:
5067

5168
### Trees
5269

@@ -118,6 +135,7 @@ Here are some SVGs and the ASCII input they were generated from:
118135
o o o o o * * * * * o * o o o o o o o * * * * o * o o · · · · o · · * ·
119136
o o o o o * * * * * * * * * o o o o * * * o * o · · · · · · · *
120137
```
138+
Note that '·' above is not ASCII, but rather Unicode, the MIDDLE DOT character, encoded with UTF-8.
121139

122140
### Large Nodes
123141

examples/circuits.svg

Lines changed: 5 additions & 5 deletions
Loading

examples/complicated.svg

Lines changed: 2 additions & 2 deletions
Loading

examples/dot-grids.svg

Lines changed: 76 additions & 76 deletions
Loading

examples/edge-cases.svg

Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
 (0)