getgrav / getgrav/grav-plugin-shortcode-core

Shortcodes are applied for code blocks

Open
#130 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
47
Forks
17
PR merge metrics
No merged PRs in 30d

Description

I'm not sure if I should report this directly to Grav or here, but when this plugin is enabled and the page contains markdown code block, maching shortcode text is stripped from the code block. Example:

~~~
---
title: Test page
taxonomy:
category:
- docs
---

Test SQL query:
```sql
SELECT 1 AS [color] FROM test_table
```
~~~

The `[color]` will be stripped out from the final display on generated HTML page.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.