patricia 0.1.1 → 0.1.2
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 +9 -1
- data/lib/patricia/assets/stylesheets/app.css +1 -1
- data/lib/patricia/version.rb +1 -1
- data/lib/patricia/views/wiki/page.haml +1 -1
- data/lib/patricia/views/wiki/welcome.md +8 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ed321fc1eb3c5a0acbd66083be6659da575ac25e
|
|
4
|
+
data.tar.gz: 5124a109fb6b798048764ae1c11bf0793e08bda0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
data/lib/patricia/version.rb
CHANGED
|
@@ -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
|
-
|
|
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.
|
|
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-
|
|
11
|
+
date: 2014-06-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|