Skip to content
Skills Library
Documents & office · Writing

markdown-block

/markdown-block

Outputs content inside a copyable fenced markdown code block so the user can copy the raw markdown verbatim. Activate whenever the user asks for "copyable markdown", "raw markdown", "the markdown source", "give me the markdown", "as a code block I can copy", or any variation of requesting markdown they can paste elsewhere (READMEs, docs, issues, PR descriptions, chat messages).

Licence
Apache-2.0
Last repository change
27.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Outputs content inside a copyable fenced markdown code block so the user can copy the raw markdown verbatim. Activate whenever the user asks for "copyable markdown", "raw markdown", "the markdown source", "give me the markdown", "as a code block I can copy", or any variation of requesting markdown they can paste elsewhere (READMEs, docs, issues, PR descriptions, chat messages).

Triggers from the description

copyable markdownraw markdownthe markdown sourcegive me the markdownas a code block I can copy
Original author description

Outputs content inside a copyable fenced markdown code block so the user can copy the raw markdown verbatim. Activate whenever the user asks for "copyable markdown", "raw markdown", "the markdown source", "give me the markdown", "as a code block I can copy", or any variation of requesting markdown they can paste elsewhere (READMEs, docs, issues, PR descriptions, chat messages).

How it works

  1. Fence rules—escape inner code blocks
  2. Example
  3. Other escaping notes
Original SKILL.md headings · 48 lines, 250 words
SKILL.md preview
---
# prettier-ignore
name: markdown-block
description: >
  Outputs content inside a copyable fenced markdown code block so the user can copy
  the raw markdown verbatim. Activate whenever the user asks for "copyable markdown",
  "raw markdown", "the markdown source", "give me the markdown", "as a code block I can
  copy", or any variation of requesting markdown they can paste elsewhere (READMEs, docs,
  issues, PR descriptions, chat messages).
---

# Markdown Block Skill

Wrap the markdown you want the user to copy in a single fenced code block tagged
`markdown`. The user will see the raw source and can copy it with one click.

## Fence rules—escape inner code blocks

Triple-backtick fences cannot nest. If the markdown contains its own fenced code
blocks, the inner fences will prematurely close the outer fence and break the
copy block.

**Rule:** the outer fence must use **strictly more backticks** than the longest
backtick run anywhere inside the content.

| Inner content contains | Outer fence to use |
| ---------------------- | ------------------ |
| no backtick fences     | ` ``` `            |
| ` ``` ` (3 backticks)  | ` ` ````           |
| ` ` ```` (4 backticks) | ` ` `````          |

Always scan the content first, find the longest backtick run, then add at least
one more backtick to the outer fence.

## Example

User asks: “Give me a copyable markdown snippet for a README install section.”

Respond with a 4-backtick fence because the inner content has a 3-backtick block:

````markdown
# Install

Run the following:

```bash
pnpm install
```
````

## Other escaping notes

- Tildes (`~~~`) are an alternate fence—apply the same “more than the longest
  inner run” rule if you choose tildes instead of backticks.
- Indented (4-space) code blocks inside the markdown need no escaping.
- Do not add commentary inside the fence. Put any explanation outside the block
  so the user copies clean markdown.

Versions

The database has no other skills named markdown-block.

Database snapshot: 13.11.2026 · package version d0ebf8162e22 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100copy-last-response
    Copy the last assistant response, or a named chat message, into a paste-stable Markdown fenced code block. Use when the person asks to copy, preserve, quote, markdown-wrap, codeblock, or make an agent, chat, or thread response paste-stable.
  • 100copyable-deliverable
    This skill should be used whenever a maigo command produces a deliverable destined to be pasted elsewhere (a PR/issue comment, a reply draft, a commit message, a gh command draft). It mandates wrapping that content in a single fenced code block so the user gets raw,…
  • 100fix-nested-code-fences
    Use when a markdown file has nested code fences that break rendering — when a ```markdown, ```bash, or similar block appears inside another ``` block anywhere in a generated or edited markdown file.
  • 100markdown-formatting
    Use when writing PR descriptions, issue bodies, documentation, or notes - applies consistent Markdown conventions (heading levels, list markers, code-block languages, link text) and provides PR and issue templates
  • 86markdown
    Documentation and content creation standards Triggers on: **/*.md
  • 100verify-markdown-snippets
    Verify every code snippet embedded in a markdown file for syntactic and type correctness, using the language-specific project under `projects/`. Use this skill proactively whenever the user asks to check, verify, validate, lint, or type-check code examples inside markdown —…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.