Skip to content

Commit

Permalink
Fixes claudioc#68, tables issue
Browse files Browse the repository at this point in the history
  • Loading branch information
claudioc committed Oct 17, 2015
1 parent 5ac9c5f commit 2ded465
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 17 deletions.
6 changes: 6 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Version 1.4.1, October 17th, 2015
=================================

- Fixes #68, CSS support for markdown tables
- Removes deprecated `licenses` object in packages.json

Version 1.4.0, October 11th, 2015
=================================

Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ For code syntax highlighting, Jingo uses the `node-syntaxhighlighter` module. Fo
Installation
------------

`npm install jingo` or download/clone the whole thing and run "npm install".
`npm install jingo` or download/clone the whole thing and run `npm install`.

Note: if you already have Jingo installed, please also run `npm prune` (some modules can be stale and need to be removed).

Jingo needs a config file and to create a sample config file, just run `jingo -s`, redirect the output on a file and then edit it (`jingo -s > config.yaml`). The config file contains all the available configuration options. Be sure to provide a valid server hostname (like wiki.mycompany.com) if you use a 3rd party provider for authentication (like Google or GitHub). It is needed for them to be able to get back to you.

Expand Down
7 changes: 0 additions & 7 deletions TODO

This file was deleted.

2 changes: 1 addition & 1 deletion jingo
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var program = require('commander'),

global.Git = require('./lib/gitmech');

program.version('1.4.0')
program.version('1.4.1')
.option('-c, --config <path>', 'Specify the config file')
.option('-#, --hash-string <string>', 'Create an hash for a string')
.option('-l, --local', 'Listen on localhost only')
Expand Down
11 changes: 3 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jingo",
"version": "1.4.0",
"version": "1.4.1",
"description": "A nodejs based wiki engine (sort of Gollum port)",
"author": "Claudio Cicali <[email protected]>",
"keywords": [
Expand Down Expand Up @@ -35,7 +35,7 @@
"jade": "*",
"js-yaml": "^3.1.0",
"lodash": "^2.4.1",
"marked": "^0.3.2",
"marked": "^0.3.5",
"method-override": "^2.3.0",
"morgan": "^1.5.0",
"node-syntaxhighlighter": "*",
Expand All @@ -59,10 +59,5 @@
"node": "0.8.x",
"npm": "1.1.x"
},
"licenses": [
{
"type": "MIT",
"url": "http://github.com/claudioc/jingo/raw/master/LICENSE"
}
]
"license": "MIT"
}
17 changes: 17 additions & 0 deletions public/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,23 @@ hr {
margin: 10px 0;
}

#content > table {
display: block;
width: 100%;
overflow: auto;
margin-bottom: 16px;
}

#content > table td,
#content > table th {
padding: 6px 13px;
border: 1px solid #ddd;
}

#content > table thead {
background-color: #eee;
}

.history td:first-child {
width: 10px;
}
Expand Down

0 comments on commit 2ded465

Please sign in to comment.