Skip to content

v0.0.4

Choose a tag to compare

@ddotta ddotta released this 03 Dec 16:24
· 100 commits to main since this release

quartify 0.0.4

New Features

  • Custom HTML Output Path:

    • Added output_html_file parameter to rtoqmd() to specify custom HTML output location
    • Added output_html_dir parameter to rtoqmd_dir() to specify directory for batch HTML outputs
    • Added HTML file selector in RStudio add-in interface (optional field)
    • HTML files can now be saved in different location than .qmd files
    • Useful for organizing outputs in separate directories (e.g., docs/, html_output/)
  • Mermaid Diagram Support:

    • Added support for Mermaid diagrams to create flowcharts, sequence diagrams, and other visualizations
    • Use #| mermaid comment to start a Mermaid chunk in R scripts
    • Chunk options (lines starting with #|) are automatically converted to Quarto format (%%|)
    • Diagram content follows without # prefix and ends at empty line or comment
    • Example syntax:
      #| mermaid
      #| eval: true
      flowchart TD
          A[Start] --> B[Process]
          B --> C[End]
    • Converted to proper Quarto Mermaid chunks in .qmd output

Bug Fixes

  • Fixed issue where Quarto render command needed to run from .qmd file directory
  • Improved path handling for custom HTML output locations with relative paths
  • Added proper working directory management during Quarto rendering

Full Changelog: v0.0.3...v0.0.4