Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/nicheonline/acf-markdown/archive/refs/heads/master.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Markdown-enhanced ACF textarea field.
Composer: niche/acf-markdown
Repo: https://github.com/nicheonline/ACF-Markdown
Works with repeaters and frontend forms using Advanced Forms.
Uses
- Inscryb/inscryb-markdown-editor for the editor
- cebe/markdown to render the output
Requires
- PHP >= 7.4
- Composer
- ACF v5+
Installation
composer require niche/acf-markdown
Formerly published as
nichestudio/acf-markdown(GitHub org redirect:nichestudio→nicheonline).
Customise Editor
Override the Inscryb editor options:
acf.add_filter( 'niche_markdown/inscrybmde_args', function ( args, field ) {
if ( field.o.id === 'field_xxxx' ) {
args[ 'placeholder' ] = 'Enter your content using Markdown';
}
return args;
} );
Changelog
1.2.0
- Renamed Composer package to
niche/acf-markdown - Declared
Markdown_Field::$plugin_settings(PHP 8.2+ dynamic property deprecation) - Raised PHP requirement to 7.4+