Skip to content

Shortcodes are applied for code blocks #130

@ViliusS

Description

@ViliusS

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions