Skip to content

How to Test

Testing ensures that blog posts and site changes are accurate, readable, and function correctly before going live.
Even though the Dijkstra Blog focuses mainly on content, quality checks are important to maintain a professional and consistent platform.


Contributors should verify:

  • Content formatting
  • Markdown rendering
  • Links and navigation
  • Images and media
  • Layout consistency
  • Build success

Before publishing a blog post:

  • Ensure headings follow a proper hierarchy (#, ##, ###)
  • Check spacing between paragraphs and sections
  • Verify code blocks render correctly
  • Confirm lists and bullet points display properly
  • Avoid overly long paragraphs for readability

Run the project locally:

Terminal window
npm run dev

Then review the blog page to ensure:

  • Markdown converts correctly to styled content
  • Tables, quotes, and code blocks are displayed properly
  • Special characters are not broken

Check that:

  • Internal links navigate to the correct pages
  • External links open correctly
  • No broken or outdated URLs exist

Broken links reduce trust and affect usability.


Ensure:

  • Images load correctly
  • Image paths are correct
  • Files are optimized (not unnecessarily large)
  • Alt text is provided for accessibility

Resize your browser or use dev tools to confirm:

  • Content looks good on desktop
  • Content remains readable on mobile screens
  • No layout breaks occur with long titles or code blocks

Before submitting changes, verify that the project builds successfully:

Terminal window
npm run build

If the build fails, there may be:

  • Syntax errors in Markdown
  • Missing files
  • Broken imports

Fix these before pushing changes.


To preview the final version:

Terminal window
npm run preview

This simulates how the blog will look after deployment.


  • Missing frontmatter in blog files
  • Incorrect file paths for images
  • Unclosed Markdown code blocks
  • Using unsupported HTML tags
  • Large unoptimized images slowing down the page

Testing is not just for developers — it ensures readers have a smooth and professional experience.
A few minutes of testing prevents broken posts and keeps the Dijkstra Blog reliable and high quality.