mirror of
https://github.com/go-gitea/gitea
synced 2024-11-17 23:54:25 +00:00
d9f748a700
Support [asciicast files](https://github.com/asciinema/asciinema/blob/develop/doc/asciicast-v2.md) as a new markup via [asciinema-player](https://github.com/asciinema/asciinema-player). For more on asciinema, see the [introduction](https://asciinema.org/). So users can use asciinema recorder to generate an asciicast file (or you can download a sample file from https://asciinema.org/a/335480.cast?dl=1), then upload it to Gitea and play it on Gitea. Snapshots: <details> ## Upload asciicast files <img width="1134" alt="image" src="https://user-images.githubusercontent.com/9418365/212461061-cc2c7181-0e14-4534-af55-1ec60a639fd1.png"> ## Open an asciicast file <img width="1137" alt="image" src="https://user-images.githubusercontent.com/9418365/212461090-a3b5141f-4894-430d-a2b4-ea257801a0ed.png"> ## Play it <img width="1144" alt="image" src="https://user-images.githubusercontent.com/9418365/212461157-4e82db69-0e41-471d-928f-ac1fe0737105.png"> ## Copy contents from the "video" <img width="1145" alt="image" src="https://user-images.githubusercontent.com/9418365/212461286-211612bc-15d6-427a-89a9-6abff5c6a0a5.png"> ## View the source <img width="1140" alt="image" src="https://user-images.githubusercontent.com/9418365/212461187-05473b2d-ba3d-4072-84a6-4aa1e7d82182.png"> </details> Known issue: Don't support the [v1 version asciicast files](https://github.com/asciinema/asciinema/blob/develop/doc/asciicast-v1.md), it's a poorly designed version, it does not specify the file extension and uses `*.json` usually, so it's impossible to recognize the files. Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
42 lines
1.0 KiB
Plaintext
42 lines
1.0 KiB
Plaintext
@import "font-awesome/css/font-awesome.css";
|
|
|
|
@import "./variables.less";
|
|
@import "./animations.less";
|
|
@import "./shared/issuelist.less";
|
|
@import "./features/dropzone.less";
|
|
@import "./features/gitgraph.less";
|
|
@import "./features/heatmap.less";
|
|
@import "./features/imagediff.less";
|
|
@import "./features/codeeditor.less";
|
|
@import "./features/projects.less";
|
|
@import "./modules/tippy.less";
|
|
@import "./markup/content.less";
|
|
@import "./markup/codecopy.less";
|
|
@import "./code/linebutton.less";
|
|
@import "./markup/asciicast.less";
|
|
|
|
@import "./chroma/base.less";
|
|
@import "./chroma/light.less";
|
|
@import "./codemirror/base.less";
|
|
@import "./codemirror/light.less";
|
|
@import "./console/console.less";
|
|
|
|
@import "_svg";
|
|
@import "_tribute";
|
|
@import "_font_i18n";
|
|
@import "_base";
|
|
@import "_home";
|
|
@import "_install";
|
|
@import "_form";
|
|
@import "_repository";
|
|
@import "_editor";
|
|
@import "_organization";
|
|
@import "_user";
|
|
@import "_dashboard";
|
|
@import "_admin";
|
|
@import "_explore";
|
|
@import "_review";
|
|
@import "_package";
|
|
|
|
@import "./helpers.less";
|