SyaroNote

command module
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 25, 2014 License: MIT Imports: 20 Imported by: 0

README

Syaro Markdown Wiki Server

Build Status

Syaro is a simple and pretty wiki system supporting markdown.

Markdown Viewer

Features

Markdown Viewer

Syaro can handle markdown format files. blackfriday is used to convert Markdown to HTML.

Viewer supports MathJax. LaTeX text surrounded by $ (inline math) or $$ (display math) is converted to beautiful mathematical expression.

Viewer also supports code syntax highlighting. This feature is powered by highlight.js.

Texts surrounded by double bracket are interpreted as WikiLink. To link to another wiki page, you can use WikiLink. another wiki page, you can use WikiLink. For example,

[[My Profile Page]]

is a link to My Profile Page.[md,mkd,markdown]. Syaro searches all files under wikiroot, so two files haven't be in same folder.

Files/Folders under ...

In main page of a directory, file/folder list is automatically appended to page's end.

Example file tree

WIKIROOT/ - Home.md
            kinmoza.md
            gochiusa/ - gochiusa.md
                        cocoa.md
                        chino.md
                        rize.md
                        syaro.md
                        chiya.md

In this example, main page of gochiusa/ is gochiusa.md, and file/folder list is appended when you see gochiusa.md.

Print ready

Print preview

Powerful Markdown editor
  • Realtime preview (including MathJax rendering and code highlighting)
  • Markdown syntax highlight
  • User fiendly table editor (inspired by Sublime Table Editor)
    • auto format (alignment, cell size) table
    • move cursor by tab/shift-tab

Editor

Table editor

Supports MathJax and code highlighting

See [[Sample Page]]

VS. Gollum

  • Syaro supports CJK filename and text.
  • File list on wiki page
  • User friendly Markdown editor
  • Table editor

Build & Install

First, install go and bower.

go install github.com/OUCC/syaro.git
cd $GOPATH/src/github.com/OUCC/syaro
# get jquery, bootstrap, etc...
bower install
./install_components.sh # copy files

Usage

syaro --wikiroot=/path/to/wiki

# or
sudo mkdir /usr/local/share/syaro
sudo cp public views /usr/local/share/syaro/ # place template html etc in your system
cd path/to/wiki
syaro

# If you want to use MathJax or highlight.js,
# syaro --mathjax --highlight --wikiroot=...

Then open localhost:8080/Home in your browser.

syaro -h or syaro --help you can see more options.

Contribution

Fork and pull requests welcome. I hadn't receive any pullreq ever so please give me your first pullreq!

Donate

About

Author
  • @yuntan
  • @susisu (Table editor)

This software is released under MIT License.

Following softwares are used:

Documentation

Overview

syaro document simple wiki server

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL