Skip to content

Commit f3225b2

Browse files
authored
doc: Remove failed attempt at color in README.md (#3)
1 parent 1bbe910 commit f3225b2

File tree

7 files changed

+39
-78
lines changed

7 files changed

+39
-78
lines changed

README.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -37,30 +37,30 @@ This is a simple command line tool that lists files matching the provided globs.
3737
3838
1. `pnpm run app "*"`
3939
40-
<!--- @@inject: static/example.md --->
41-
4240
**Example:**
4341
44-
<pre>
45-
<span style="color:#A50">Find Files:<span style="color:#FFF">
46-
<span style="color:#555"> - <span style="color:#FFF"><span style="color:#AAA">LICENSE<span style="color:#FFF">
47-
<span style="color:#555"> - <span style="color:#FFF"><span style="color:#AAA">README.md<span style="color:#FFF">
48-
<span style="color:#555"> - <span style="color:#FFF"><span style="color:#AAA">bin.mjs<span style="color:#FFF">
49-
<span style="color:#555"> - <span style="color:#FFF"><span style="color:#AAA">coverage<span style="color:#FFF">
50-
<span style="color:#555"> - <span style="color:#FFF"><span style="color:#AAA">cspell.config.yaml<span style="color:#FFF">
51-
<span style="color:#555"> - <span style="color:#FFF"><span style="color:#AAA">dist<span style="color:#FFF">
52-
<span style="color:#555"> - <span style="color:#FFF"><span style="color:#AAA">package.json<span style="color:#FFF">
53-
<span style="color:#555"> - <span style="color:#FFF"><span style="color:#AAA">pnpm-lock.yaml<span style="color:#FFF">
54-
<span style="color:#555"> - <span style="color:#FFF"><span style="color:#AAA">release-please-config.json<span style="color:#FFF">
55-
<span style="color:#555"> - <span style="color:#FFF"><span style="color:#AAA">scripts<span style="color:#FFF">
56-
<span style="color:#555"> - <span style="color:#FFF"><span style="color:#AAA">src<span style="color:#FFF">
57-
<span style="color:#555"> - <span style="color:#FFF"><span style="color:#AAA">static<span style="color:#FFF">
58-
<span style="color:#555"> - <span style="color:#FFF"><span style="color:#AAA">tsconfig.json<span style="color:#FFF">
59-
<span style="color:#555"> - <span style="color:#FFF"><span style="color:#AAA">vitest.config.ts<span style="color:#FFF">
60-
<span style="color:#0A0">done.<span style="color:#FFF">
61-
</span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></pre>
62-
63-
<!--- @@inject-end: static/example.md --->
42+
<!--- @@inject: static/example.txt --->
43+
44+
```
45+
Find Files:
46+
- LICENSE
47+
- README.md
48+
- bin.mjs
49+
- coverage
50+
- cspell.config.yaml
51+
- dist
52+
- package.json
53+
- pnpm-lock.yaml
54+
- release-please-config.json
55+
- scripts
56+
- src
57+
- static
58+
- tsconfig.json
59+
- vitest.config.ts
60+
done.
61+
```
62+
63+
<!--- @@inject-end: static/example.txt --->
6464
6565
## `pnpm` - this template uses pnpm.
6666

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
"@typescript-eslint/eslint-plugin": "^5.47.1",
4444
"@typescript-eslint/parser": "^5.47.1",
4545
"@vitest/coverage-c8": "^0.26.2",
46-
"ansi-to-html": "^0.7.2",
4746
"cspell": "^6.18.1",
4847
"eslint": "^8.30.0",
4948
"eslint-config-prettier": "^8.5.0",

pnpm-lock.yaml

Lines changed: 0 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/build-readme.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@
33
./bin.mjs --help > static/help.txt
44

55
# output example
6-
./bin.mjs "*" --color > static/example.ansi
7-
echo "**Example:**" > static/example.md
8-
echo "<pre>" >> static/example.md
9-
pnpm ansi-to-html static/example.ansi >> static/example.md
10-
echo "</pre>" >> static/example.md
6+
./bin.mjs "*" > static/example.txt
117

128
pnpm inject-markdown README.md
139
pnpm prettier -w README.md

static/example.ansi

Lines changed: 0 additions & 16 deletions
This file was deleted.

static/example.md

Lines changed: 0 additions & 20 deletions
This file was deleted.

static/example.txt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Find Files:
2+
- LICENSE
3+
- README.md
4+
- bin.mjs
5+
- coverage
6+
- cspell.config.yaml
7+
- dist
8+
- package.json
9+
- pnpm-lock.yaml
10+
- release-please-config.json
11+
- scripts
12+
- src
13+
- static
14+
- tsconfig.json
15+
- vitest.config.ts
16+
done.

0 commit comments

Comments
 (0)