llama.cpp/examples/server/webui
Vinesh Janarthanan 5478bbcd17
server: (UI) add syntax highlighting and latex math rendering (#10808)
* add code highlighting and math formatting

* code cleanup

* build public/index.html

* rebuild public/index.html

* fixed coding style

* fixed coding style

* style fixes

* highlight: smaller bundle size, fix light & dark theme

* remove katex

* add bundle size check

* add more languages

* add php

* reuse some langs

* use gzip

* Revert "remove katex"

This reverts commit c0e5046acc.

* use better maintained @vscode/markdown-it-katex

* fix gzip non deterministic

* ability to add a demo conversation for dev

* fix latex rendering

* add comment

* latex codeblock as code

---------

Co-authored-by: Xuan Son Nguyen <son@huggingface.co>
2024-12-15 12:55:54 +01:00
..
public server: (UI) add syntax highlighting and latex math rendering (#10808) 2024-12-15 12:55:54 +01:00
src server: (UI) add syntax highlighting and latex math rendering (#10808) 2024-12-15 12:55:54 +01:00
index.html server: (UI) add syntax highlighting and latex math rendering (#10808) 2024-12-15 12:55:54 +01:00
package-lock.json server: (UI) add syntax highlighting and latex math rendering (#10808) 2024-12-15 12:55:54 +01:00
package.json server: (UI) add syntax highlighting and latex math rendering (#10808) 2024-12-15 12:55:54 +01:00
postcss.config.js server : (web ui) Various improvements, now use vite as bundler (#10599) 2024-12-03 19:38:44 +01:00
tailwind.config.js server : (web ui) Various improvements, now use vite as bundler (#10599) 2024-12-03 19:38:44 +01:00
vite.config.js server: (UI) add syntax highlighting and latex math rendering (#10808) 2024-12-15 12:55:54 +01:00