jekyll-microtypo 0.2.4 → 0.2.5
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/README.md +4 -4
- data/lib/jekyll/microtypo/version.rb +1 -1
- data/lib/jekyll/microtypo.rb +3 -2
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a2ab05872463ebdd3f45ebfa7365e68a8d45aea5b7ee7245c5932608e3ade313
|
|
4
|
+
data.tar.gz: 73d4f27633420d6c7cfbff9c5be5922688bdecdcf97ec2dac2ad56476d0a8faf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 448189a55536568d098270a3b32c1d27aded9cdb90263302d54c7b30e3cbb04c753275a4f57a9232762f670c20381a10258578d43286501fed1f9e35a1c4a14e
|
|
7
|
+
data.tar.gz: eb3034af15ac6035d1f7f531329c67885b4402c1b216afa3029177e945ca0ac3ed0d4642e8f31c93e885fa3d61b772ae72eed280365764706649ca15036a5636
|
data/README.md
CHANGED
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
- [Ignore code sections](#ignore-code-sections)
|
|
16
16
|
- [Français](#fran%C3%A7ais)
|
|
17
17
|
- [Corrections fr_FR](#corrections-frfr)
|
|
18
|
-
- [Installation](#installation)
|
|
18
|
+
- [Installation](#installation-1)
|
|
19
19
|
- [Utilisation générique](#utilisation-g%C3%A9n%C3%A9rique)
|
|
20
|
-
- [Configuration](#configuration)
|
|
20
|
+
- [Configuration](#configuration-1)
|
|
21
21
|
- [Ignorer des portions de code](#ignorer-des-portions-de-code)
|
|
22
22
|
|
|
23
23
|
## English
|
|
@@ -120,7 +120,7 @@ Pour le moment, `jekyll-microtypo` ne supporte que fr_FR et en_US.
|
|
|
120
120
|
|
|
121
121
|
- Remplacement des ordinnaux "1er, 2e" par "1<sup>er</sup>, 2<sup>e</sup>"
|
|
122
122
|
- Remplacement de "n°3" par "n<sup>o</sup> 3"
|
|
123
|
-
- Utilisation des guillemets à la
|
|
123
|
+
- Utilisation des guillemets à la française
|
|
124
124
|
- Utilisation des guillemets simples ouvrants et fermants
|
|
125
125
|
- Remplacement des pontuations spéciales "?!", "!?", "!!" par les signes adaptés "⁈", "⁉", "‼"
|
|
126
126
|
- Ajout d'une espace insécable ou fine insécable devant les signes de ponctuation qui le nécessitent
|
|
@@ -128,7 +128,7 @@ Pour le moment, `jekyll-microtypo` ne supporte que fr_FR et en_US.
|
|
|
128
128
|
- Ajout d'une espace insécable avant le montant et les signes "€" ou "$"
|
|
129
129
|
- Ajout d'une espace insécable après un tiret long
|
|
130
130
|
- Remplacement du "x" par un "×" dans les multiplications
|
|
131
|
-
- Remplacement de
|
|
131
|
+
- Remplacement de trois points par une vraie éllipse "..."
|
|
132
132
|
- Utilisation de caractères spéciaux comme ©, ®, ™ ou ℗ en utilisant une lettre entourée de parenthèses.
|
|
133
133
|
- **Si configuré** : masquage de la notation abbréviative à base de point médian pour les lecteurs d'écran
|
|
134
134
|
|
data/lib/jekyll/microtypo.rb
CHANGED
|
@@ -62,8 +62,9 @@ module Jekyll
|
|
|
62
62
|
input.gsub!(/n°\s*(\d)/, 'n<sup>o</sup> \1'.freeze)
|
|
63
63
|
|
|
64
64
|
# French Guillemets
|
|
65
|
-
input.gsub!(/(&
|
|
66
|
-
input.gsub!(/(\s| | )
|
|
65
|
+
input.gsub!(/(”|”|»)<a /, '« <a '.freeze)
|
|
66
|
+
input.gsub!(/(“|“|«)(?! )(\s| | )*/, '« '.freeze)
|
|
67
|
+
input.gsub!(/(\s| | )*(?! )(”|”|»)/, ' »'.freeze)
|
|
67
68
|
|
|
68
69
|
# Point median
|
|
69
70
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-microtypo
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Boris Schapira
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2019-04-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -125,8 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
125
125
|
- !ruby/object:Gem::Version
|
|
126
126
|
version: '0'
|
|
127
127
|
requirements: []
|
|
128
|
-
|
|
129
|
-
rubygems_version: 2.7.6
|
|
128
|
+
rubygems_version: 3.0.2
|
|
130
129
|
signing_key:
|
|
131
130
|
specification_version: 4
|
|
132
131
|
summary: Jekyll plugin that improves microtypography
|