Git Product home page Git Product logo

php5-markdown-wiki's Introduction

PHP5 Markdown

A simple wiki built around the standard PHP Markdown class.

Currently I've hacked the link handling methods in the markdown class so that relative paths are treated as wiki page references, but in all cases this relative path is treated as fixed from the wiki root. This hacking should probably be done by extending the Markdown class and overriding or wrapping the necessary methods.

So a link syntax of [My page](myDir/myPage) will be treated as a wiki link and linked to the page {$wikibase}/myDir/myPage}, so looking for a file called myPage.markdown in the directory myDir which is a sub-directory of the document directory.


To-do:

  • Specifying a stylesheet
  • Extract topmost header in document for use as a title
  • Error message handling
  • Documentation of install
  • Version control. Choice between git and self-versioning
  • Override layout rendering with templates
  • Solve mod_rewrite baseUrl - maybe an extra config?
  • History and rollback
  • Allow translations of interface (how are we doing UTF-8 wise?)
  • Search
  • Recent changes page
  • Meta information: categorising, tagging, document title, author
  • Improve test coverage of MarkdownWiki class
  • Tighter/more secure file-update/conflict checking
  • Documentation of layout templates / accessible data structures

Wish list:

  • REST-based API that deals with raw markdown
  • Figure out a better way of extending the base markdown class.

Things to consider:

  • Authentication / login
  • Export/import markdown documents
  • sub-content / shared modules
  • Navigation items
  • Other text-format types ( textframe or textile )

php5-markdown-wiki's People

Contributors

isofarro avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.