Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xli/wikimate
WikiMate is a sectional wiki content editor inspired by Smallest-Federated-Wiki project.
https://github.com/xli/wikimate
Last synced: 3 months ago
JSON representation
WikiMate is a sectional wiki content editor inspired by Smallest-Federated-Wiki project.
- Host: GitHub
- URL: https://github.com/xli/wikimate
- Owner: xli
- License: mit
- Created: 2012-05-12T05:48:03.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-05-16T01:14:50.000Z (over 12 years ago)
- Last Synced: 2024-08-01T12:33:33.752Z (6 months ago)
- Language: JavaScript
- Size: 1.89 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES
- License: MIT-LICENSE.txt
Awesome Lists containing this project
- awesome-starred - xli/wikimate - WikiMate is a sectional wiki content editor inspired by Smallest-Federated-Wiki project. (others)
README
WikiMate
==============================WikiMate is a sectional wiki content editor inspired by Smallest-Federated-Wiki project.
Demo & Try it out
------------------------------User Reference
--------* Double click to create/edit a section
* Default section type is [Markdown](http://daringfireball.net/projects/markdown/)Developer Reference
----------### Basic Usage
$('#wiki').wikimate({
// Story is a Javascript Array that contains story items
// see the Data Structure section for details
story: [... story items ...],
// Callback when a change action happened (add, edit/delete story item)
change: function(event, action) {
// save the action as you need
save(action)
// get the updated story.........
var newStory = $('#wiki').wikimate('story');
.........
}
});### Tell wikimate to render story journal
// Journal is a Javascript Array that contains action objects
// see the Data Structure section for details
var journal = ...
$('#wiki').wikimate('journal', journal);// To get the up-to-date journal
var newJournal = $('#wiki').wikimate('journal');### More Details:
Download Package
-------------------------------https://github.com/downloads/xli/wikimate/wikimate-0.1.zip
See examples/package_demo.html for how to use wikimate in your application.
Build Package
-------------------------------rake
Or
make build
A dist directory will be created with everything inside.
A packaged_demo.html is also inside dist directory for how to use.Dependency
-------------------------------JavaScript:
* jquery-1.7.2.js
* underscore-1.3.1.js
* jquery-ui-1.8.18.custom.min.js for image plugin
* diff.js for journal module
* tiny_mce 3.4.9 for rdoc plugin
* showdown.js for markdown pluginPackage:
* jshint & uglifyjs