File: README.epiphany

package info (click to toggle)
epiphany-browser 48.3-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 25,384 kB
  • sloc: ansic: 75,426; javascript: 7,337; xml: 686; python: 177; sh: 77; makefile: 12
file content (26 lines) | stat: -rw-r--r-- 1,001 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Embedded source code highlighter based on hightlight.js

This directory contains an official highlight.js release version, distributed at: https://github.com/highlightjs/highlight.js

## Update process

git clone https://github.com/highlightjs/highlight.js.git
cd highlight.js
git checkout <version number>
npm install
node tools/build.js -n css javascript xml

Copy build/highlight.js to <epiphany-source>/third-party/highlightjs/
Copy src/styles/nnfx-light.css to <epiphany-source>/third-party/highlightjs/
Copy src/styles/nnfx-dark.css to <epiphany-source>/third-party/highlightjs/

# Highlight.js line numbers plugin:

git clone https://github.com/wcoder/highlightjs-line-numbers.js.git
cd highlightjs-line-numbers.js
git checkout <version number>

Copy src/highlightjs-line-numbers.js to <epiphany-source>/third-party/highlightjs/
Copy LICENSE to <epiphany-source>/third-party/highlightjs/LICENSE.highlightjs-line-numbers

# Documentation created by Jan-Michael Brummer <jan.brummer@tabos.org>