feat: Add syntax highlighting to CI
This commit is contained in:
parent
fd82c51bbc
commit
4fc6a16a86
5 changed files with 7 additions and 2 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -27,3 +27,6 @@ pre_dot_hn-*.tar
|
|||
|
||||
# Built Site
|
||||
/priv/static/
|
||||
|
||||
# TreeSitter Parsers
|
||||
/tree-sitter/_parsers/
|
||||
|
|
|
@ -8,6 +8,7 @@ pages:
|
|||
- mix esbuild.install --if-missing
|
||||
- mix tailwind.install --if-missing
|
||||
- mix tree_sitter.install --if-missing
|
||||
- (cd tree-sitter/_parsers/;git clone https://github.com/elixir-lang/tree-sitter-elixir; git clone https://github.com/camdencheek/tree-sitter-dockerfile)
|
||||
- mix assets.build
|
||||
- mix pre_dot_hn.build
|
||||
- cp -r priv/static/ public
|
||||
|
|
|
@ -71,7 +71,7 @@ defmodule PreDotHn.Markdown do
|
|||
{"code", [], [table], %{verbatim: true}}
|
||||
end
|
||||
|
||||
def floki2earmark(list) when is_list(list) do
|
||||
def floki2earmark(list) when is_list(list) do
|
||||
Enum.map(list, &floki2earmark/1)
|
||||
end
|
||||
|
||||
|
|
0
tree-sitter/_parsers/.keep
Normal file
0
tree-sitter/_parsers/.keep
Normal file
|
@ -4,7 +4,8 @@
|
|||
"/home/prehnra/src",
|
||||
"/home/prehnra/source",
|
||||
"/home/prehnra/projects",
|
||||
"/home/prehnra/treesitter"
|
||||
"/home/prehnra/treesitter",
|
||||
"/builds/prehnRA/pre.hn/tree-sitter/_parsers/"
|
||||
],
|
||||
"theme": {
|
||||
"function": 26,
|
||||
|
|
Loading…
Reference in a new issue