Skip to content

Audit fixes#111

Merged
ThisIs-Developer merged 2 commits into
mainfrom
audit-fixes
May 24, 2026
Merged

Audit fixes#111
ThisIs-Developer merged 2 commits into
mainfrom
audit-fixes

Conversation

@ThisIs-Developer
Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings May 24, 2026 17:18
@vercel
Copy link
Copy Markdown

vercel Bot commented May 24, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
markdown-viwer Ready Ready Preview, Comment May 24, 2026 5:18pm

@ThisIs-Developer ThisIs-Developer merged commit a66701c into main May 24, 2026
6 of 7 checks passed
@ThisIs-Developer ThisIs-Developer deleted the audit-fixes branch May 24, 2026 17:21
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds audit-related fixes to improve YAML frontmatter handling during HTML export and introduces a comprehensive Markdown feature verification document for manual regression testing.

Changes:

  • Update HTML export flow to parse YAML frontmatter and prepend a rendered metadata table to the exported HTML.
  • Add export-time CSS for .frontmatter-table so the metadata table is styled in exported HTML.
  • Add test.md, a Markdown verification & test suite document covering frontmatter, Mermaid, MathJax, GFM, and custom extensions.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 5 comments.

File Description
test.md Adds a manual verification/test suite document (frontmatter, Mermaid, MathJax, GFM, extensions).
script.js Prepends rendered frontmatter table to HTML export output and adds export-only frontmatter table CSS.
desktop-app/resources/js/script.js Mirrors the same HTML export + CSS changes for the desktop bundle.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread script.js
Comment on lines +4298 to +4300
const { frontmatter, body } = parseFrontmatter(markdownEditor.value);
const tableHtml = frontmatter ? renderFrontmatterTable(frontmatter) : '';
const html = tableHtml + marked.parse(body);
Comment thread script.js
Comment on lines +4399 to +4403
.frontmatter-table {
width: 100%;
border-collapse: collapse;
margin-bottom: 24px;
font-size: 14px;
Comment on lines +4298 to +4300
const { frontmatter, body } = parseFrontmatter(markdownEditor.value);
const tableHtml = frontmatter ? renderFrontmatterTable(frontmatter) : '';
const html = tableHtml + marked.parse(body);
Comment on lines +4399 to +4403
.frontmatter-table {
width: 100%;
border-collapse: collapse;
margin-bottom: 24px;
font-size: 14px;
Comment thread test.md

### Currency Delimiter Collision Test
*Standard currency symbols must NOT compile as LaTeX equations:*
- I bought this book for $5 and that markdown guide for $10. (Should render as standard text with raw dollar signs).
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.

2 participants