Testing BFM Features

Welcome to the BFM Test Post

This post exercises every major feature of Birdcar Flavored Markdown to validate the rendering pipeline.

GFM Features

Tables

FeatureStatusNotes
TablesWorkingGFM extension
StrikethroughWorkinglike this
AutolinksWorkinghttps://birdcar.dev

Strikethrough

This text has strikethrough formatting applied.

BFM Directives

Callouts

Details

Click to expand

This content is hidden by default and revealed when the user interacts with the summary element. Useful for lengthy code examples or supplementary information.

Figures

Placeholder image

A caption describing the figure above.

Asides

Table of Contents

Footnotes

Birdcar Flavored Markdown supports footnotes1 for supplementary information. They can contain multiple references2 throughout the document.

Mentions and Hashtags

Hey @birdcar, this post is tagged with #testing and #bfm for validation purposes.

Platform mentions: @github:octocat, , @bluesky:birdcar.dev, @mastodon:birdcar@fosstodon.org, @npm:unified, @linkedin:birdcar, and @unknown:somebody (unrecognized platform).

Extended Task Lists

  • Open task — not started yet
  • Completed task — already done
  • Scheduled task — planned for later
  • Migrated task — moved elsewhere
  • Irrelevant task — no longer needed
  • Event — something that happened
  • Priority task — needs attention

Math

E=mc2E = mc^2
x=b±b24ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}

Embeds

A classic example of an embedded video.

Queried Posts

Code Blocks

import { remarkBfm } from '@birdcar/markdown';
import { unified } from 'unified';
import remarkParse from 'remark-parse';

const processor = unified()
  .use(remarkParse)
  .use(remarkBfm);

const tree = processor.parse('Hello **world**');
console.log(tree);
def greet(name: str) -> str:
    """Generate a greeting for the given name."""
    return f"Hello, {name}!"

Regular Content

This is a regular paragraph to verify that standard markdown rendering works correctly alongside the BFM extensions. It includes bold, italic, and inline code formatting.

Here’s a link to the project and an ordered list:

  1. First item
  2. Second item
  3. Third item

A blockquote for good measure. BFM should handle these gracefully alongside its custom block directives.

Footnotes

  1. This is the first footnote with additional context.

  2. Footnotes are rendered at the bottom of the document.