highlight
Syntax highlighting for Dart with lots of languages and themes support.
0.7.0
265K downloads/mo
#738 most downloaded on pub.dev
pd4d10/highlight
What this package is like to depend on
Last release 5 years ago
no release in 18 months
Ships unpredictably
gaps range from 2 weeks to 13 months
Most releases are documented
notes for 8 of 9 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
9 releases · first in 2019
0 releases in the last 12 months
see the full history below
Release timeline
9 releases · Aug 2019 to Mar 2021Releases
latest 9-
0.7.007 Mar 2021 -
0.6.004 Feb 2020Release notes
Open source →Generated from
bc74f4d..v0.6.0.Fixes
- pedantic lints (
37b4469)
Maintenance
- run codegen (
ef5ef32) - code gen (
e17a077)
- pedantic lints (
-
0.5.014 Nov 2019Release notes
Open source →Generated from
v0.4.1..bc74f4d.Features
- add gn and solidity (
196c1c4)
Refactors
- remove unused param (
081c668) - var -> final (
d0e1aec) - add register all method (
75753dc) - builtin and community languages (
49418b1)
Maintenance
- generate code (
8e87f9c) - fix language detection (
ef6fc86)
- add gn and solidity (
-
0.4.112 Nov 2019Release notes
Open source →Generated from
9a1123a..v0.4.1.Features
- add graphql and vue (
5f558bf) - add highlight core module for more control (
c2bee79)
- add graphql and vue (
-
0.4.020 Sep 2019Release notes
Open source →Generated from
7f55bfe..9a1123a.Features
- auto detection param (
de22fa4)
Fixes
- use plaintext mode if no language match (
3c8bb95)
Documentation
- update examples and readme (
ef80504)
Maintenance
- fix auto detection cases (
8de9a3e) - add test cases (
54d53c3)
Release notes
Open source →Bug Fixes
- use plaintext mode if no language match (3c8bb95)
- gallery: correct language (77855a0)
- drop dart:io dependency for web (3aa0155)
Features
- auto detection param (de22fa4)
- auto detection param (
-
0.3.002 Sep 2019 -
0.2.026 Aug 2019Release notes
Open source →Generated from
4960805..ab848b6.Documentation
- improve doc of highlight lib (
995b285)
Maintenance
- ignore example, run generate script (
23a5adb)
- improve doc of highlight lib (
-
0.1.025 Aug 2019Release notes
Open source →Generated from repository start to
4960805.Features
- support sub languages (
a4c419b) - add refs to fix circular issue (
4470f4a) - output tree node instead of html string (
64376d7) - change exposed api (
11b8c9c) - register all languages by default (
33299d3)
Fixes
- trim result before comparing (
f7d9680) - sub language field type (
24c8dc1) - regexp with multiline flag (
f2f2ff7) - normalize types (
74cd977) - regexp with multiline flag (
e9f2a81) - terminators filter (
2bdfc37) - match sub language (
7b0e509) - catch int parse error (
41aac3d) - keyword match reference language (
4ec6476) - className empty (
b16005e) - join regexp (
28a4e32) - languages alias (
1a88ff6) - stack overflow, update test cases (
1117023) - alias register (
bfc594e)
Refactors
- generate class instead of map (
acf504a) - drop unnecessary regexp to string conversion (
400acef) - private methods (
00fc7bb) - move private things to src (
942c88f) - highlight -> parse (
319fe7e)
Documentation
- update examples and readme (
b4e7b3e) - update readme (
86c6500)
Maintenance
- rename to highlight as common library (
2592b4c) - add hljs test cases (
fb6c9ba) - add missing langs (
d5dd81a) - generate multiple files by language (
12f47bb) - drop json related code (
b16ec4b) - add hljs v9.15.9 test cases (
3a509b9) - move all generated files to languages folder (
f31ee95) - add generated language files (
7421fb8) - remove unused index.js (
58766ae) - add detect test files (
abd5b8a) - language detect (
19544a8) - update language and test files (
882870f) - remove unused deps, downgrade minimal version of path for flutter compatible (
8ad23ce) - update test cases (
1665492) - add test files copy script (
103ca48) - dart sdk version, remove unused deps (
09f7d59) - use fixtures in submodule repo (
5932818) - remove unused fixtures (
a368be8) - add prefix comment for generated files (
f69e71e)
Other
- Revert "fix: regexp with multiline flag" (
927997c)
Release notes
Open source →Bug Fixes
- alias register (bfc594e)
- catch int parse error (41aac3d)
- className empty (b16005e)
- dropdown menu style (9bcd55c)
- find same mode instances for reusing (a0bffd5)
- flutter highlight traverse (6ae2549)
- join regexp (28a4e32)
- keyword match reference language (4ec6476)
- languages alias (1a88ff6)
- match sub language (7b0e509)
- merge styles of same selector (b678d03)
- normalize types (74cd977)
- regexp with multiline flag (e9f2a81)
- stack overflow, update test cases (1117023)
- sub language field type (24c8dc1)
- terminators filter (2bdfc37)
- trim result before comparing (f7d9680)
- try to circular object (9099402)
Features
- gallery: add ga (8e5b8c0)
- default style (2d1e72f)
- use default theme (505aa11)
- gallery: add language select (acb429c)
- add container background color (7edd5aa)
- add generated style files (4da9ce8)
- add highlighter widget (6f8b529)
- add refs to fix circular issue (4470f4a)
- add tools (2ca2e95)
- change exposed api (11b8c9c)
- compile mode (2811fbb)
- copy flutter_highlight to gallery, with flutter_web replacement (4ea17fc)
- core highlight (3f8ca78)
- json generator (c5f9e47)
- output tree node instead of html string (64376d7)
- register all languages by default (33299d3)
- select highlight theme at gallery (063c06c)
- support sub languages (a4c419b)
- use es modules (63778cb)
- support sub languages (
-
0.0.112 Aug 2019Nothing published for this version