/Phoedown

Pharo Smalltalk FFI to hoedown

Primary LanguageSmalltalkMIT LicenseMIT

Phoedown

Phoedown is Pharo Smalltalk FFI to hoedown.

Installing

In Pharo:

Metacello new
	baseline: 'Phoedown';
	repository: 'github://PierceNg/Phoedown/src';
	load.

The Pharo VM needs to be able to locate the hoedown .so/dylib file.

The Simplest Example

HdHtmlRenderer new
	render: '# Hello from Phoedown'

A Slightly More Complex Example

See my blog entry for usage example. Github's Markdown processor isn't able to handle that blog post's example within this README.