Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
Chimo e094b4b326 Normalize linebreaks 2 роки тому
actions On/Off setting per-user 2 роки тому
css Revert "[WIP] Per-notice markdown setting" 2 роки тому
forms On/Off setting per-user 2 роки тому
lib Render bio with markdown in ProfileBlock 2 роки тому
.gitignore gitignore: Ignore vendor folder 3 роки тому
LICENSE Add license 3 роки тому
MarkdownPlugin.php Normalize linebreaks 2 роки тому
README.md readme: Add 'install' section 2 роки тому
composer.json Add GFM support via config.php 3 роки тому
composer.lock Add GFM support via config.php 3 роки тому


Use Markdown in your GNU social notices


  1. Navigate to your /local/plugins directory (create it if it doesn’t exist)
  2. 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 /plugins/ directory
Tell /config.php to use it with:


You can now use markdown syntax in your notices.

Github Flavored Markdown

If you want to use Github Flavored Markdown instead of the built-in markdown library, run composer install in the plugin directory (assuming you have composer installed).

And tell the plugin to use GFM by using the following in your /config.php:

    addPlugin('Markdown', array('parser' => 'gfm'));

You can now use GFM syntax in your notices.