patricia 0.1.1 → 0.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
  SHA1:
3
- metadata.gz: 67fe48708657dc1541204315dcaedcb79f04479a
4
- data.tar.gz: a3ebb2cc08e9f902773f89aa3c1d4894f9d1ec82
3
+ metadata.gz: ed321fc1eb3c5a0acbd66083be6659da575ac25e
4
+ data.tar.gz: 5124a109fb6b798048764ae1c11bf0793e08bda0
5
5
  SHA512:
6
- metadata.gz: 60803a1932ff8c839e000a8c1783af3de02e9a5a639e6b8df09c015098a4fa487c9f456974cbf2de51c6a60a14b9a421c0b99fad0790d1b6f979332c10218148
7
- data.tar.gz: 6227b21360ab4648b651d0754da183b4c4b97da7a207ff0ef1a7dbd83f92a6a6cfbb2451b97780dbc0f3d9b696dca5b432c8d37221b9f32c48241b6ff61d2155
6
+ metadata.gz: 0f9138d161d42c2d6e6259871397930ec6c3cb31bad3acdd81c52a49c9e40c0260e046fc8339114e61ee0d583afcbad7dd03873ed7f22505ff6127222e42c4e3
7
+ data.tar.gz: b517e79fa46aca25bfdcdaba215981e8bfaf912d43351e29aaecd88106ca101e0c3314cc2df7f019cf675b9164b0a36a589e70e9cfc6e4b379be9a69215435f9
data/README.md CHANGED
@@ -28,6 +28,7 @@ Patricia also comes with some optional goodies:
28
28
  directory and file in the sidebar by hovering over it.
29
29
  - RegEx search across all pages (if you tag your pages using a consistent
30
30
  pattern, you can use this to get a list of all pages for certain tags).
31
+ - GitHub Flavored Markdown/Markup support (`-g` flat)
31
32
 
32
33
  ## Installation
33
34
 
@@ -62,7 +63,8 @@ Run `patricia --help` to see a list of all options.
62
63
  ## Markup Languages
63
64
 
64
65
  Patricia supports the following markup languages (supported file
65
- extensions in parentheses):
66
+ extensions in parentheses) - except when using the `-g` command line
67
+ switch *(see below)*:
66
68
 
67
69
  - Markdown (`.md`, `.markdown`) via `kramdown`
68
70
  - Org (`.org`) via `org-ruby`
@@ -86,6 +88,12 @@ To add support for a new language do this:
86
88
  prompting to download the file.
87
89
  5. *Make sure the tests pass*
88
90
 
91
+ Alternatively one can use the `-g` flag to force the usage of the
92
+ `github-markup` gem to render all pages. This lets you use GitHub Flavored
93
+ Markdown. It will render *all* pages of any markup type using this gem, not
94
+ only Markdown. As a result, when using `-g`, all the markup languages of
95
+ the `github-markup` gem are supported.
96
+
89
97
  ## Editor
90
98
 
91
99
  Patricia's rudimentary and completely optional markup editor can
@@ -42,7 +42,7 @@ img {
42
42
  }
43
43
 
44
44
  body {
45
- background-color: #F5F5F5;
45
+ background-color: #FAFAFA;
46
46
  margin-top: 20px;
47
47
  }
48
48
 
@@ -1,3 +1,3 @@
1
1
  module Patricia
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
@@ -4,7 +4,7 @@
4
4
  %div.col.col-md-7.col-md-offset-1
5
5
  %div.row.panel.panel-default.panel-body.top-panel
6
6
  %div.col.col-md-9
7
- %p
7
+ %p.row
8
8
  %strong
9
9
  %a{:href => "/"}= @title if defined?(@title)
10
10
  %div.col.col-md-3
@@ -120,8 +120,15 @@ sidebar item.
120
120
  list of matching pages.
121
121
  - Regular expressions can be used.
122
122
 
123
+ ## GitHub Flavored Markdown
124
+
125
+ With the `-g` command line switch you can use GitHub Flavored Markdown.
126
+ This will force *all* pages to be rendered using the `github-markdown` gem.
127
+ Consequence: All the markup languages supported by this gem are supported
128
+ by Patircia.
129
+
123
130
  ## Keyboard Shortcuts
124
131
 
125
- - Press `?` to get a list of all keyboard shortcuts.
132
+ Press `?` to get a list of all keyboard shortcuts.
126
133
 
127
134
  ---------------------------------------------------------------------------
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: patricia
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - nounch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-06 00:00:00.000000000 Z
11
+ date: 2014-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler