Upstream changed the way linebreaks are handled. Compensate for that change. Closes #7
|5 years ago|
|actions||6 years ago|
|css||5 years ago|
|forms||6 years ago|
|lib||5 years ago|
|.gitignore||7 years ago|
|LICENSE||7 years ago|
|MarkdownPlugin.php||5 years ago|
|README.md||6 years ago|
|composer.json||7 years ago|
|composer.lock||7 years ago|
Use Markdown in your GNU social notices
- Navigate to your
/local/pluginsdirectory (create it if it doesn't exist)
git clone https://github.com/chimo/gs-markdown.git Markdown
Activate the feature for your user account
Because the markdown plugin changes the way notices are rendered significantly, it is disabled by default.
Users can activate the plugin for their account in the "Settings > Markdown" section.
Built-in markdown parser
Make sure the files are in a folder called
Markdown if they're not already
Put the folder in your
/config.php to use it with:
You can now use markdown syntax in your notices.
Github Flavored Markdown
And tell the plugin to use GFM by using the following in your
addPlugin('Markdown', array('parser' => 'gfm'));
You can now use GFM syntax in your notices.