serve-markdown 0.0.4 → 0.0.6

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: 9f48fba715db18e07cdc029e00b220546a50c6c9d799c213db2181e013253325
4
- data.tar.gz: 9c35284b8a3c2fbfc8e1a1e3e641b32ec2fa9daaf4d22d4ec71fd459a7c4f811
3
+ metadata.gz: f5f6fad2a685783aae35cdb54afbd1ca80555cbf405d0793907804021f047628
4
+ data.tar.gz: 196c1c9f8db6f56a6f63d0f0a1c5004425b835065d2ee2ab1e2faec5d14bda3b
5
5
  SHA512:
6
- metadata.gz: c9842af1c56699638cfd994230688ba4bbc359a225919a1bb4601a5662c69d353a7c4a7783e683b321db5cdc9c284bfcba1393f4945f34fe215d6a23c1fbb899
7
- data.tar.gz: b46ed3289ed9bdf644f654caf1583d7889c1603cd861d6b447bbf83c8ac742da9463a9f7db7fbe3974e05abb9116720ccf7f3d32c6801c766290289ad143fc7c
6
+ metadata.gz: 94c2b42f4db1878eb6cc006d305f03fc0723013881bda24f377cc72b83e6ae13f96dad9ab96916795bdc11a308482f3ae790e4fbc90f118fa66b8f93d974aea5
7
+ data.tar.gz: 05b55e24c71ee271e54e5d3b02c67f5150fc307770563d3ae91730eee152e9c8bae7b58534c78ea193cd406d0a822aec2a3b3fb9fdc95d131bde1aeb3e0bf52e
@@ -35,6 +35,8 @@ generate_html = Proc.new do
35
35
  end
36
36
  end
37
37
 
38
+ generate_html.call
39
+
38
40
  listener = Listen.to('.') do |modified, added ,removed|
39
41
  generate_html.call
40
42
  end
@@ -22,7 +22,7 @@
22
22
  padding: 1rem;
23
23
  }
24
24
 
25
- p, h1 {
25
+ p, h1, h2, h3, h4, h5, h6, ol, ul {
26
26
  margin: 1rem 0;
27
27
  }
28
28
 
@@ -30,7 +30,7 @@
30
30
  margin-left: 1.5rem;
31
31
  }
32
32
 
33
- article > p:first-child {
33
+ article > :first-child {
34
34
  margin-top: 0;
35
35
  }
36
36
  </style>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: serve-markdown
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Radek Osmulski