changed CHANGELOG.md
 
@@ -1,23 +1,26 @@
1
- # Chnagelog
1
+ # Changelog
2
2
3
- <!-- %% CHANGELOG_ENTRIES %% -->
3
+ ### 1.0.4 - 2020-09-25
4
4
5
- ### 1.0.3 - 2020-06-07 09:12:23
5
+ Fix warnings and update NimbleParsec dependency.
6
+
7
+
8
+ ### 1.0.3 - 2020-06-07
6
9
7
10
Allow styles to be given as atoms when generating stylesheets.
8
11
9
12
10
- ### 1.0.2 - 2020-05-28 09:19:10
13
+ ### 1.0.2 - 2020-05-28
11
14
12
15
Update NimbleParsec dependency.
13
16
14
17
15
- ### 1.0.1 - 2020-03-24 14:42:31
18
+ ### 1.0.1 - 2020-03-24
16
19
17
20
Remove warnings on recent Elixir versions.
18
21
19
22
20
- ### 1.0.0 - 2019-07-15 22:27:07
23
+ ### 1.0.0 - 2019-07-15
21
24
22
25
Upgrade the HTML formatter so that you can use different kinds of tags around the tokens.
23
26
 
@@ -30,7 +33,7 @@ HTMLFormatter.format_as_iolist(tokens, highlight_tag: "font")
30
33
```
31
34
32
35
33
- ### 0.8.0 - 2019-01-01 16:48:41
36
+ ### 0.8.0 - 2019-01-01
34
37
35
38
This release adds a new file extension registry for lexers.
36
39
This means that it's now possible to lookup lexers by file extension.
 
@@ -50,7 +53,7 @@ elixir_lexer = Makeup.Registry.get_lexer_by_extension!("ex")
50
53
Documentation of the registry functionality was also improved.
51
54
52
55
53
- ### 0.7.0 - 2018-12-30 19:06:18
56
+ ### 0.7.0 - 2018-12-30
54
57
55
58
Adds a register where lexer developers can register their lexers.
56
59
This allows one to pick a lexer based on the language name.
 
@@ -59,14 +62,8 @@ The goal is for Makeup to be aware of the avaliable lexers.
59
62
In a project such as ExDoc this allows Makeup to support an unbounded number of languages just by declaring the lexer as a dependency.
60
63
61
64
62
- ### 0.6.0 - 2018-12-22 01:11:02
65
+ ### 0.6.0 - 2018-12-22
63
66
64
67
Fixes the combinators affected by compatibility breaks in `nimble_parsec` from `0.4.x` to `0.5.x`.
65
68
66
69
Pins `nimble_parsec` to version `0.5.0`.
67
-
68
-
69
- ### 0.5.6 - 2018-12-12
70
-
71
- Make makeup depend on `nimble_parsec` v0.4.0, because v0.5.0 contains breaking changes.
72
-
changed hex_metadata.config
 
@@ -57,5 +57,5 @@
57
57
{<<"name">>,<<"nimble_parsec">>},
58
58
{<<"optional">>,false},
59
59
{<<"repository">>,<<"hexpm">>},
60
- {<<"requirement">>,<<"~> 0.5">>}]]}.
61
- {<<"version">>,<<"1.0.3">>}.
60
+ {<<"requirement">>,<<"~> 0.5 or ~> 1.0">>}]]}.
61
+ {<<"version">>,<<"1.0.4">>}.
changed lib/makeup/styles/html/pygments/abap.ex
 
@@ -24,6 +24,6 @@ defmodule Makeup.Styles.HTML.AbapStyle do
24
24
styles: @styles)
25
25
26
26
def style() do
27
- @style_struct()
27
+ @style_struct
28
28
end
29
29
end
\ No newline at end of file
changed lib/makeup/styles/html/pygments/algol.ex
 
@@ -31,6 +31,6 @@ defmodule Makeup.Styles.HTML.AlgolStyle do
31
31
styles: @styles)
32
32
33
33
def style() do
34
- @style_struct()
34
+ @style_struct
35
35
end
36
36
end
\ No newline at end of file
changed lib/makeup/styles/html/pygments/algol_nu.ex
 
@@ -31,6 +31,6 @@ defmodule Makeup.Styles.HTML.Algol_NuStyle do
31
31
styles: @styles)
32
32
33
33
def style() do
34
- @style_struct()
34
+ @style_struct
35
35
end
36
36
end
\ No newline at end of file
changed lib/makeup/styles/html/pygments/arduino.ex
 
@@ -31,6 +31,6 @@ defmodule Makeup.Styles.HTML.ArduinoStyle do
31
31
styles: @styles)
32
32
33
33
def style() do
34
- @style_struct()
34
+ @style_struct
35
35
end
36
36
end
\ No newline at end of file
changed lib/makeup/styles/html/pygments/autumn.ex
 
@@ -47,6 +47,6 @@ defmodule Makeup.Styles.HTML.AutumnStyle do
47
47
styles: @styles)
48
48
49
49
def style() do
50
- @style_struct()
50
+ @style_struct
51
51
end
52
52
end
\ No newline at end of file
changed lib/makeup/styles/html/pygments/borland.ex
 
@@ -37,6 +37,6 @@ defmodule Makeup.Styles.HTML.BorlandStyle do
37
37
styles: @styles)
38
38
39
39
def style() do
40
- @style_struct()
40
+ @style_struct
41
41
end
42
42
end
\ No newline at end of file
changed lib/makeup/styles/html/pygments/bw.ex
 
@@ -36,6 +36,6 @@ defmodule Makeup.Styles.HTML.BlackWhiteStyle do
36
36
styles: @styles)
37
37
38
38
def style() do
39
- @style_struct()
39
+ @style_struct
40
40
end
41
41
end
\ No newline at end of file
changed lib/makeup/styles/html/pygments/colorful.ex
 
@@ -63,6 +63,6 @@ defmodule Makeup.Styles.HTML.ColorfulStyle do
63
63
styles: @styles)
64
64
65
65
def style() do
66
- @style_struct()
66
+ @style_struct
67
67
end
68
68
end
\ No newline at end of file
changed lib/makeup/styles/html/pygments/default.ex
 
@@ -54,6 +54,6 @@ defmodule Makeup.Styles.HTML.DefaultStyle do
54
54
styles: @styles)
55
55
56
56
def style() do
57
- @style_struct()
57
+ @style_struct
58
58
end
59
59
end
\ No newline at end of file
changed lib/makeup/styles/html/pygments/emacs.ex
 
@@ -55,6 +55,6 @@ defmodule Makeup.Styles.HTML.EmacsStyle do
55
55
styles: @styles)
56
56
57
57
def style() do
58
- @style_struct()
58
+ @style_struct
59
59
end
60
60
end
\ No newline at end of file
changed lib/makeup/styles/html/pygments/friendly.ex
 
@@ -55,6 +55,6 @@ defmodule Makeup.Styles.HTML.FriendlyStyle do
55
55
styles: @styles)
56
56
57
57
def style() do
58
- @style_struct()
58
+ @style_struct
59
59
end
60
60
end
\ No newline at end of file
changed lib/makeup/styles/html/pygments/fruity.ex
 
@@ -31,6 +31,6 @@ defmodule Makeup.Styles.HTML.FruityStyle do
31
31
styles: @styles)
32
32
33
33
def style() do
34
- @style_struct()
34
+ @style_struct
35
35
end
36
36
end
\ No newline at end of file
changed lib/makeup/styles/html/pygments/igor.ex
 
@@ -23,6 +23,6 @@ defmodule Makeup.Styles.HTML.IgorStyle do
23
23
styles: @styles)
24
24
25
25
def style() do
26
- @style_struct()
26
+ @style_struct
27
27
end
28
28
end
\ No newline at end of file
changed lib/makeup/styles/html/pygments/lovelace.ex
 
@@ -64,6 +64,6 @@ defmodule Makeup.Styles.HTML.LovelaceStyle do
64
64
styles: @styles)
65
65
66
66
def style() do
67
- @style_struct()
67
+ @style_struct
68
68
end
69
69
end
\ No newline at end of file
changed lib/makeup/styles/html/pygments/manni.ex
 
@@ -55,6 +55,6 @@ defmodule Makeup.Styles.HTML.ManniStyle do
55
55
styles: @styles)
56
56
57
57
def style() do
58
- @style_struct()
58
+ @style_struct
59
59
end
60
60
end
\ No newline at end of file
changed lib/makeup/styles/html/pygments/monokai.ex
 
@@ -41,6 +41,6 @@ defmodule Makeup.Styles.HTML.MonokaiStyle do
41
41
styles: @styles)
42
42
43
43
def style() do
44
- @style_struct()
44
+ @style_struct
45
45
end
46
46
end
\ No newline at end of file
changed lib/makeup/styles/html/pygments/murphy.ex
 
@@ -63,6 +63,6 @@ defmodule Makeup.Styles.HTML.MurphyStyle do
63
63
styles: @styles)
64
64
65
65
def style() do
66
- @style_struct()
66
+ @style_struct
67
67
end
68
68
end
\ No newline at end of file
changed lib/makeup/styles/html/pygments/native.ex
 
@@ -46,6 +46,6 @@ defmodule Makeup.Styles.HTML.NativeStyle do
46
46
styles: @styles)
47
47
48
48
def style() do
49
- @style_struct()
49
+ @style_struct
50
50
end
51
51
end
\ No newline at end of file
changed lib/makeup/styles/html/pygments/paraiso-dark.ex
 
@@ -49,6 +49,6 @@ defmodule Makeup.Styles.HTML.ParaisoDarkStyle do
49
49
styles: @styles)
50
50
51
51
def style() do
52
- @style_struct()
52
+ @style_struct
53
53
end
54
54
end
\ No newline at end of file
changed lib/makeup/styles/html/pygments/paraiso-light.ex
 
@@ -49,6 +49,6 @@ defmodule Makeup.Styles.HTML.ParaisoLightStyle do
49
49
styles: @styles)
50
50
51
51
def style() do
52
- @style_struct()
52
+ @style_struct
53
53
end
54
54
end
\ No newline at end of file
changed lib/makeup/styles/html/pygments/pastie.ex
 
@@ -56,6 +56,6 @@ defmodule Makeup.Styles.HTML.PastieStyle do
56
56
styles: @styles)
57
57
58
58
def style() do
59
- @style_struct()
59
+ @style_struct
60
60
end
61
61
end
\ No newline at end of file
changed lib/makeup/styles/html/pygments/perldoc.ex
 
@@ -48,6 +48,6 @@ defmodule Makeup.Styles.HTML.PerldocStyle do
48
48
styles: @styles)
49
49
50
50
def style() do
51
- @style_struct()
51
+ @style_struct
52
52
end
53
53
end
\ No newline at end of file
changed lib/makeup/styles/html/pygments/rainbow_dash.ex
 
@@ -51,6 +51,6 @@ defmodule Makeup.Styles.HTML.RainbowDashStyle do
51
51
styles: @styles)
52
52
53
53
def style() do
54
- @style_struct()
54
+ @style_struct
55
55
end
56
56
end
\ No newline at end of file
changed lib/makeup/styles/html/pygments/rrt.ex
 
@@ -24,6 +24,6 @@ defmodule Makeup.Styles.HTML.RrtStyle do
24
24
styles: @styles)
25
25
26
26
def style() do
27
- @style_struct()
27
+ @style_struct
28
28
end
29
29
end
\ No newline at end of file
changed lib/makeup/styles/html/pygments/samba.ex
 
@@ -82,6 +82,6 @@ defmodule Makeup.Styles.HTML.SambaStyle do
82
82
styles: @styles)
83
83
84
84
def style() do
85
- @style_struct()
85
+ @style_struct
86
86
end
87
87
end
\ No newline at end of file
changed lib/makeup/styles/html/pygments/tango.ex
 
@@ -81,6 +81,6 @@ defmodule Makeup.Styles.HTML.TangoStyle do
81
81
styles: @styles)
82
82
83
83
def style() do
84
- @style_struct()
84
+ @style_struct
85
85
end
86
86
end
\ No newline at end of file
changed lib/makeup/styles/html/pygments/trac.ex
 
@@ -46,6 +46,6 @@ defmodule Makeup.Styles.HTML.TracStyle do
46
46
styles: @styles)
47
47
48
48
def style() do
49
- @style_struct()
49
+ @style_struct
50
50
end
51
51
end
\ No newline at end of file
changed lib/makeup/styles/html/pygments/vim.ex
 
@@ -41,6 +41,6 @@ defmodule Makeup.Styles.HTML.VimStyle do
41
41
styles: @styles)
42
42
43
43
def style() do
44
- @style_struct()
44
+ @style_struct
45
45
end
46
46
end
\ No newline at end of file
changed lib/makeup/styles/html/pygments/vs.ex
 
@@ -29,6 +29,6 @@ defmodule Makeup.Styles.HTML.VisualStudioStyle do
29
29
styles: @styles)
30
30
31
31
def style() do
32
- @style_struct()
32
+ @style_struct
33
33
end
34
34
end
\ No newline at end of file
changed lib/makeup/styles/html/pygments/xcode.ex
 
@@ -35,6 +35,6 @@ defmodule Makeup.Styles.HTML.XcodeStyle do
35
35
styles: @styles)
36
36
37
37
def style() do
38
- @style_struct()
38
+ @style_struct
39
39
end
40
40
end
\ No newline at end of file
changed mix.exs
 
@@ -1,7 +1,7 @@
1
1
defmodule Makeup.Mixfile do
2
2
use Mix.Project
3
3
4
- @version "1.0.3"
4
+ @version "1.0.4"
5
5
@url "https://github.com/tmbb/makeup"
6
6
7
7
def project do
 
@@ -42,8 +42,7 @@ defmodule Makeup.Mixfile do
42
42
43
43
defp aliases do
44
44
[
45
- docs: &build_docs/1,
46
- release: "run scripts/release.exs"
45
+ docs: &build_docs/1
47
46
]
48
47
end
49
48
 
@@ -67,7 +66,7 @@ defmodule Makeup.Mixfile do
67
66
# Run "mix help deps" to learn about dependencies.
68
67
defp deps do
69
68
[
70
- {:nimble_parsec, "~> 0.5"},
69
+ {:nimble_parsec, "~> 0.5 or ~> 1.0"},
71
70
{:stream_data, "~> 0.4.2", only: [:dev, :test]}
72
71
]
73
72
end