Test Publish Feature

testing blog

Test Publish Feature

This is a test note to verify the publish-to-blog functionality.

Here are some wiki-links that should be stripped:

  • Reference to JavaScript should become plain text
  • Link with display: The Rust Language should show display text
  • Section link: Linux should strip section
  • Display with section: Setting up Docker should use display

Inline Tags Test

Some inline tags to test:

These should be removed from the final content.

Assets Reference

If this was a real promoted note, we could reference assets like:

Diagram

Content

This note contains some regular markdown content to ensure it’s preserved during the transformation process.

  • Bullet points work
  • Bold text works
  • Italic text works
  • inline code works

Code Blocks

// Code blocks should be preserved
function test() {
  console.log("Hello, world!");
}

Mermaid Diagram Test

Here’s a mermaid diagram to test diagram rendering:

graph TD
    A[Vault Note] -->|Promote| B[Note/Note.md + assets/]
    B -->|Publish| C[Blog Post]
    C -->|Transform| D[Strip Wiki-Links]
    C -->|Transform| E[Update Frontmatter]
    C -->|Copy| F[Assets Folder]
    D --> G[index.md]
    E --> G
    F --> G
    G -->|Deploy| H[Published Blog Post]
    
    style A fill:#e1f5ff
    style G fill:#d4edda
    style H fill:#d1ecf1

This diagram shows the publish-to-blog workflow.

Conclusion

This test note should be successfully published to the blog with:

  • Transformed frontmatter
  • Stripped wiki-links
  • Removed inline tags
  • Preserved markdown formatting