Commit Graph
3 Commits
Author SHA1 Message Date
trean 38680216ab Custom code highlighter thema (#570)
* custom code highlighter thema

* icons

* styles

* icons without additional html

* new copy icon + styles, mobile fix

* neutral color for unknown languages

* http tab, mask size

* fallback icon

* fix

* fix

* fix
2024-02-13 00:35:19 +01:00
trean 33f8cf104e removed usage of highlights.js because hugo uses another code highlighter (#194) 2023-06-20 14:39:56 +02:00
e301681488 Lang switcher (#7)
* language switcher for documentation pages

* some cleanup and an example of usage

* fix highlight elements ordering

* fix for unexpected behavior

* styles fix

* changed tag

* copy button for code blocks in documentation

* warning and info styled elements for documentation

* docs auto-sync

* fixed 1px extra padding and prevented tabs generation when there is only one language

* docs auto-sync

* fix

* docs auto-sync

* moved css for information aside blocks to the article file

* fix

Co-authored-by: Andrey Vasnetsov <andrey@vasnetsov.com>
Co-authored-by: qdrant <qdrant@users.noreply.github.com>
2022-03-15 11:06:01 +01:00