docwatch-bin 2.1.0 → 2.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 355efb2dad47b934487b2b29661c144c7f9c46eb00fd3050cb1110bb6cc7bc32
4
- data.tar.gz: cc80ca6e5dfcedc046a388977accca06897abb80ed84298142edd1f8655bed19
3
+ metadata.gz: ec0e54556c556d854ab9d5c1d9b65c3ab620b2af53c2db5ddf3b3dc1402dc2cb
4
+ data.tar.gz: 33781694291a7223069ae7af8fd9c295f9554ce4a7361b8fbdd50f6717f9b301
5
5
  SHA512:
6
- metadata.gz: 8faa2fb18a2ae5dbe32a2113433b79f6ffaabc3da20f2daccee27ee6aa48ee01b376d8a7cf02c2e64abeddc95df211f0d3a7f93356a87891eb9829d0161612b1
7
- data.tar.gz: ac2ca1752b0d419f66cc50bab6cd8782ad182ebc0bdee0538fc2f3deffe810093c8df7774c02c973b3ae038a61d7e8408e0c92dd0c2b9998660d1b94cd8e8a10
6
+ metadata.gz: a4e11ad0754ee9d7e67faaf2fd09d892474c4a154120f43d6d1a040dcab68eb5ca61489c88156f8dc88b9b039c6d273d0d7c6e252994d441f264b5b1eb298289
7
+ data.tar.gz: d19b1c2b0bf7ac0a0974107931a84a4515e3e8ae8f9e5638344f0c3391d5ae6b79247d6e0df4c1089ec276ace0acdf4d26ba73b1ef10b1f892ae45d8fc8fd575
@@ -13,7 +13,7 @@ module Docwatch
13
13
  frontmatter_yaml = ''
14
14
 
15
15
  lines.each do |line|
16
- if line.strip == '---'
16
+ if line.strip == '---' && !in_document
17
17
  in_frontmatter = !in_frontmatter
18
18
  in_document = true if !in_frontmatter
19
19
  elsif in_frontmatter
@@ -1,3 +1,3 @@
1
1
  module Docwatch
2
- VERSION = '2.1.0'
2
+ VERSION = '2.1.2'
3
3
  end
data/res/styles.css CHANGED
@@ -3,7 +3,6 @@
3
3
  }
4
4
 
5
5
  body {
6
- font-variant-ligatures: none;
7
6
  font-family: sans-serif;
8
7
  font-size: 16px;
9
8
  color: #444;
@@ -54,11 +53,13 @@ code {
54
53
 
55
54
  pre,
56
55
  pre > code {
56
+ font-variant-ligatures: none;
57
57
  white-space: pre;
58
58
  padding: 0;
59
59
  }
60
60
 
61
61
  pre {
62
+ font-variant-ligatures: none;
62
63
  border: 1px solid #CBE7F6;
63
64
  padding: 0.6rem;
64
65
  padding-left: 1rem;
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docwatch-bin
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - crdx
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-22 00:00:00.000000000 Z
11
+ date: 2022-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize
@@ -178,7 +178,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
178
178
  - !ruby/object:Gem::Version
179
179
  version: '0'
180
180
  requirements: []
181
- rubygems_version: 3.3.23
181
+ rubygems_version: 3.3.25
182
182
  signing_key:
183
183
  specification_version: 4
184
184
  summary: Preview markdown documents in the browser with reload on change