nichestudio / acf-markdown
Markdown-enhanced ACF textarea
Installs: 2 242
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 1
Open Issues: 0
Type:wordpress-plugin
Requires
- php: >=5.4
- cebe/markdown: ^1.2
This package is auto-updated.
Last update: 2024-04-18 17:53:49 UTC
README
Markdown-enhanced ACF textarea.
Works with repeaters and even frontend forms using Advanced Forms.
Uses
- Inscryb/inscryb-markdown-editor for the editor
- cebe/markdown to render the output
Requires:
- PHP >=5.4
- Composer
- ACF v5
Installation
composer require nichestudio/acf-markdown
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; } );