From 6092a8601bdbd7825e2d5aafe9b73b7355292b64 Mon Sep 17 00:00:00 2001 From: Jake Donham Date: Mon, 27 Jun 2022 10:11:00 -0700 Subject: [PATCH] add blocks.config.json --- blocks.config.json | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 blocks.config.json diff --git a/blocks.config.json b/blocks.config.json new file mode 100644 index 0000000..61e49a1 --- /dev/null +++ b/blocks.config.json @@ -0,0 +1,11 @@ +[ + { + "type": "file", + "id": "mermaid-block", + "title": "Mermaid Block", + "description": "Render file with Mermaid", + "entry": "/src/blocks/mermaid-block/index.tsx", + "matches": ["*.mermaid"], + "example_path": "https://github.com/sourcegraph/sourcegraph/blob/main/doc/code_intelligence/explanations/diagrams/index-states.mermaid" + } +]