# betterdocs/4.9.3/assets/build/blocks/code-snippet/block.json

BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ &amp; Chatbot, version 4.9.3. 65 lines.

- Page: https://pluginprobe.com/plugins/betterdocs/4.9.3/code/assets/build/blocks/code-snippet/block.json
- Raw: https://pluginprobe.com/plugins/betterdocs/4.9.3/raw/assets/build/blocks/code-snippet/block.json
- Modified: 2026-08-20T11:38:12+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/betterdocs/4.9.3/code/assets/build/blocks/code-snippet/block.json#L10-L20`.

```json
{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "betterdocs/code-snippet",
	"title": "BetterDocs Code Snippet",
	"category": "betterdocs",
	"description": "Insert stylized, language-aware code blocks with copy-to-clipboard functionality.",
	"keywords": [
		"code",
		"snippet",
		"syntax",
		"highlight",
		"programming",
		"betterdocs"
	],
	"textdomain": "betterdocs",
	"attributes": {
		"blockId": {
			"type": "string"
		},
		"blockMeta": {
			"type": "object"
		},
		"resOption": {
			"type": "string",
			"default": "Desktop"
		},
		"codeContent": {
			"type": "string",
			"default": ""
		},
		"language": {
			"type": "string",
			"default": "javascript"
		},
		"codeVariants": {
			"type": "array",
			"default": []
		},
		"showLanguageLabel": {
			"type": "boolean",
			"default": true
		},
		"showCopyButton": {
			"type": "boolean",
			"default": true
		},
		"showLineNumbers": {
			"type": "boolean",
			"default": false
		},
		"theme": {
			"type": "string",
			"default": "light"
		}
	},
	"supports": {
		"align": [
			"wide",
			"full"
		],
		"html": false
	}
}

```
