Skip to content
This repository was archived by the owner on Jan 25, 2021. It is now read-only.
This repository was archived by the owner on Jan 25, 2021. It is now read-only.

Kirby Shortcode #551

@jenstornell

Description

@jenstornell

Github: https://github.com/jenstornell/kirby-shortcode

Kirby Shortcode is a powerful alternative to kirbytags, but it's more similar to WordPress Shortcode API.

Kirbytags Shortcode
Self closing Yes Yes
Closing - Yes
Nesting - Yes
Any HTML - Yes
Access to $field Yes Yes
Access to $page Yes Yes

Example

[hello]

Some text.

[greetings firstname="Peter" lastname="Parker"]
    [hello] This is a tag inside a tag.
    Kirby *markdown* can be used inside a tag.
    Html can be <strong>used as well</strong>!
    Even kirbytags like (email: [email protected]) works.
[/greetings]

Some more text.

[field-data]

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions