2017 © Pedro Peláez
 

symfony-bundle creole-bundle

A bundle for Symfony 2 PHP Framework with support for Creole 1.0 Wiki markup language.

image

avtonom/creole-bundle

A bundle for Symfony 2 PHP Framework with support for Creole 1.0 Wiki markup language.

  • Tuesday, June 2, 2015
  • by avtonomspb
  • Repository
  • 1 Watchers
  • 0 Stars
  • 9 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

WikiBundle

Not maintained anymore

I do not maintain this library anymore. If some wants to fork and proceed, no problem., (*1)

What is WikiBundle?

This is a bundle for Symfony2. It provides a parser and two renders for Wiki markup (Creole v1.0). The parser and the lexer transfer the markup into an class oriented tree structure. This structure is used by the XhtmlRenderer and LatexRenderer to create an formatted output. Its easy to write your very own renderer., (*2)

Performance

The parsing is quiet fast (benchmarks will follow). Additional its is easy to cache the parsed result. Each class representing the tree structure implements the Serializable interface. So each time the markup changes, you can parse it once and then store the serialized form of the tree (for example with Doctrine 2 in a column of type Object). Once you need to render the markup you can just deserialize the tree (which is way faster) and then render it directly without a need to reparse it., (*3)

Reliability

This bundle is unit tested with 100% code coverage. The Parser is tested with lots of special testcase to ensure the correct Wiki markup interpretation. In addition their is random markup generated and tests check if their occur any errors. This random markup is parse, rendered to latex code and then passed to pdflatex to avoid PDF build errors., (*4)

To do

Following markup is missing by now:, (*5)

  • Images: Will follow soon
  • [Placeholder][3]: Not sure if I want to implement it

The LatexRenderer has deactivated features:, (*6)

  • Tables (their is still some issue with pdflatex - so deactivated by now)
  • Italic, Bold (pdflatex does not allow italic or bold span over two paragraphs - so deactivated by now)

The Versions

02/06 2015

1.0.x-dev

1.0.9999999.9999999-dev https://github.com/Avtonom/CreoleBundle

A bundle for Symfony 2 PHP Framework with support for Creole 1.0 Wiki markup language.

  Sources   Download

GNU GPL V3

The Requires

 

by Christian Hoffmeister, Avtonom

parser markup wiki creole wikitext

02/06 2015

dev-master

9999999-dev https://github.com/Avtonom/CreoleBundle

A bundle for Symfony 2 PHP Framework with support for Creole 1.0 Wiki markup language.

  Sources   Download

GNU GPL V3

The Requires

 

by Christian Hoffmeister, Avtonom

parser markup wiki creole wikitext

02/06 2015

v1.0.0

1.0.0.0 https://github.com/Avtonom/CreoleBundle

A bundle for Symfony 2 PHP Framework with support for Creole 1.0 Wiki markup language.

  Sources   Download

GNU GPL V3

The Requires

 

by Christian Hoffmeister, Avtonom

parser markup wiki creole wikitext