feat: only format markdown with deno
parent
d82cc62524
commit
34d17111d6
5
Makefile
5
Makefile
|
@ -40,7 +40,10 @@ gen:
|
|||
go run .
|
||||
|
||||
format-html:
|
||||
deno fmt ./posts ./templates ./docs
|
||||
bun upgrade
|
||||
bun install --global prettier
|
||||
prettier --write ./templates ./docs
|
||||
deno fmt ./posts
|
||||
|
||||
srht:
|
||||
# https://srht.site/quickstart
|
||||
|
|
|
@ -43,7 +43,8 @@
|
|||
<ul>
|
||||
<li>
|
||||
<code>build.go</code>: need to install protoc-gen-* binaries with pin
|
||||
version in <code>go.mod</code>
|
||||
version in
|
||||
<code>go.mod</code>
|
||||
</li>
|
||||
<li><code>buf.yaml</code></li>
|
||||
<li><code>buf.gen.yaml</code></li>
|
||||
|
@ -171,7 +172,8 @@
|
|||
<code
|
||||
>import "third_party/googleapis/google/api/annotations.proto";</code
|
||||
>
|
||||
with <code>import "google/api/annotations.proto";</code>
|
||||
with
|
||||
<code>import "google/api/annotations.proto";</code>
|
||||
</li>
|
||||
<li>
|
||||
Delete <code>security_definitions</code>, <code>security</code>, in
|
||||
|
|
|
@ -59,6 +59,7 @@
|
|||
><span aria-hidden="true" class="octicon octicon-link"></span></a
|
||||
>Trick or treat
|
||||
</h2>
|
||||
<p>Search current word: <code>*</code></p>
|
||||
<p>Search multiple words:</p>
|
||||
<div class="highlight highlight-source-viml">
|
||||
<pre>:/<span class="pl-cce">\v</span>word1|word2|word3</pre>
|
||||
|
@ -313,6 +314,16 @@ vim.<span class="pl-smi">keymap</span>.<span class="pl-c1">set</span>(<span clas
|
|||
>References / Thanks
|
||||
</h2>
|
||||
<ul>
|
||||
<li>
|
||||
vim docs:
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://moolenaar.net/habits_2007.pdf" rel="nofollow"
|
||||
>Seven habits of effective text editing 2.0</a
|
||||
>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
neovim official docs:
|
||||
<ul>
|
||||
|
|
|
@ -503,6 +503,11 @@
|
|||
>https://github.com/oven-sh/bun</a
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://github.com/denoland/deno"
|
||||
>https://github.com/denoland/deno</a
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://github.com/pypa/pipx">https://github.com/pypa/pipx</a>
|
||||
</li>
|
||||
|
|
|
@ -108,6 +108,7 @@ Memory
|
|||
|
||||
- https://github.com/Schniz/fnm
|
||||
- https://github.com/oven-sh/bun
|
||||
- https://github.com/denoland/deno
|
||||
- https://github.com/pypa/pipx
|
||||
- https://github.com/sdkman/sdkman-cli
|
||||
|
||||
|
|
Loading…
Reference in New Issue