Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jfcherng/prismjs-language-ass
ASS/SSA subtitle syntax highlight for Prism.js
https://github.com/jfcherng/prismjs-language-ass
prismjs syntax-highlighting
Last synced: 5 days ago
JSON representation
ASS/SSA subtitle syntax highlight for Prism.js
- Host: GitHub
- URL: https://github.com/jfcherng/prismjs-language-ass
- Owner: jfcherng
- License: mit
- Created: 2020-06-18T10:30:35.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-06-18T10:30:53.000Z (over 4 years ago)
- Last Synced: 2024-11-03T01:05:12.186Z (13 days ago)
- Topics: prismjs, syntax-highlighting
- Language: JavaScript
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# prismjs-language-ass
ASS/SSA subtitle syntax highlight for Prism.js
# Installation
```bash
npm install prismjs-language-ass
```# Usage
```html
```
```html
[Script Info]
Synch Point:1
ScriptType: v4.00+
Collisions: Normal
Timer: 100.0000[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: Default,Arial,21,&H00FFFFFF,&HF0000000,&H006C3300,&H00000000,-1,0,0,0,100,100,0,0.00,1,2,1,2,5,5,5,134[Events]
Format: Layer, Start, End, Style, Actor, MarginL, MarginR, MarginV, Effect, Text
Dialogue: 0,0:00:42.32,0:00:48.84,*Default,NTP,0000,0000,0000,,Hello World!
```