Skip to content

docs(typefully): document X Article code blocks - #33

Open
linuz90 wants to merge 1 commit into
mainfrom
fab/typ-7441-x-article-code-blocks
Open

docs(typefully): document X Article code blocks#33
linuz90 wants to merge 1 commit into
mainfrom
fab/typ-7441-x-article-code-blocks

Conversation

@linuz90

@linuz90 linuz90 commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

TL;DR

The Typefully agent skill now teaches agents how to create fenced code blocks in X Articles without corrupting internal backticks, and makes the code-comment limitation explicit.

Ref TYP-7441

Summary

  • Document fenced code blocks as supported X Article Markdown, including optional single-token languages and collision-safe outer fences.
  • Extend the comprehensive example with code while keeping the nested Markdown fence valid.
  • Clarify that fenced-code text is not commentable and add a user-facing changelog entry.

Validation

  • npm test — 10 files and 130 tests passed
  • Markdown diff and nested-fence structure checked

Manual QA

  • Render the X Article reference → the comprehensive outer Markdown fence contains the inner Python fence without breaking
  • Follow the documented code-block and comment guidance against a deployed Typefully environment → draft creation succeeds and code-only comment anchoring is avoided

After Merge

Related Links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant