diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-10 15:02:06 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-10 15:02:06 +0800 |
commit | 2b972ca1cce1633aa94891c1a24dcf6a54eda6bc (patch) | |
tree | a9cf27eb68bf17a6aa313a8b9aa7485b95a6f070 /handle_repo_tree.go | |
parent | repo_tree: Add chroma.css (diff) | |
download | forge-2b972ca1cce1633aa94891c1a24dcf6a54eda6bc.tar.gz forge-2b972ca1cce1633aa94891c1a24dcf6a54eda6bc.tar.zst forge-2b972ca1cce1633aa94891c1a24dcf6a54eda6bc.zip |
repo_tree: Attempt to use the xcode theme
Diffstat (limited to 'handle_repo_tree.go')
-rw-r--r-- | handle_repo_tree.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/handle_repo_tree.go b/handle_repo_tree.go index c2810d9..1a2c810 100644 --- a/handle_repo_tree.go +++ b/handle_repo_tree.go @@ -81,7 +81,7 @@ func handle_repo_tree(w http.ResponseWriter, r *http.Request) { return } var formatted_unencapsulated bytes.Buffer - style := chroma_styles.Get("emacs") + style := chroma_styles.Get("xcode") formatter := chroma_formatters_html.New(chroma_formatters_html.WithClasses(true), chroma_formatters_html.TabWidth(8)) formatter.Format(&formatted_unencapsulated, style, iterator) formatted_encapsulated := template.HTML(formatted_unencapsulated.Bytes()) |