jekyll-link-decorator 1.7.0 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/jekyll-link-decorator/version.rb +1 -1
- data/lib/jekyll-link-decorator.rb +4 -3
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0a4872962803af2990a40727305d6c2addb9ea7d3df92d614d00371a0aaf77ad
|
|
4
|
+
data.tar.gz: 47250445c0c9163963082deb6ee986022dc44e4db2ecd79d2b8367c1ecc3000b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b8328e80c3b9ba63802c5aef9133054731c19112e078ced348ff5f30fa8da47c6c02531d4bb140bd016ae7e9c376921a00561df16eaa2695a3f9cb000496d5b5
|
|
7
|
+
data.tar.gz: ef76d4e238557f5ad72114c1701519f1323af626149f8730bc873f9d6213f3a8c5624afd29357dc021aa5c507db29a80d7f56e3d0b93e29f114b8431accd9b0a
|
|
@@ -39,7 +39,7 @@ module Jekyll
|
|
|
39
39
|
# box) via Nokogiri CSS selectors, excluding buttons. Also adds
|
|
40
40
|
# external-link icons for cross-domain links.
|
|
41
41
|
class LinkDecorator < Jekyll::Converters::Markdown
|
|
42
|
-
DEFAULT_LINK_CLASSES = 'link link-offset-
|
|
42
|
+
DEFAULT_LINK_CLASSES = 'link link-offset-2 link-offset-2-hover link-underline ' \
|
|
43
43
|
'link-underline-opacity-0 link-underline-opacity-100-hover focus-ring'
|
|
44
44
|
DEFAULT_ALERT_LINK_CLASSES = 'alert-link focus-ring'
|
|
45
45
|
|
|
@@ -62,8 +62,9 @@ module Jekyll
|
|
|
62
62
|
# excludes link-underline-*, link-offset-*, and link-opacity-* families)
|
|
63
63
|
pattern: /\Alink-(?!underline\b|offset-|opacity-)\S+\z/
|
|
64
64
|
},
|
|
65
|
-
{ # link-underline-{color}, e.g. link-underline-success
|
|
66
|
-
|
|
65
|
+
{ # link-underline and link-underline-{color}, e.g. link-underline-success
|
|
66
|
+
# (excludes -opacity-*); the bare class takes the link's own text color
|
|
67
|
+
pattern: /\Alink-underline(?:-(?!opacity)\S+)?\z/
|
|
67
68
|
},
|
|
68
69
|
{ # link-offset-{1,2,3}, each with an optional -hover variant
|
|
69
70
|
pattern: /\Alink-offset-[123](-hover)?\z/
|