Home / Function/ renderTypographerChecks() — astro Function Reference

renderTypographerChecks() — astro Function Reference

Architecture documentation for the renderTypographerChecks() function in render.test.js from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  d88da5d6_a8cb_a272_e8bf_4fc41312b578["renderTypographerChecks()"]
  da471585_45ba_f17c_0b97_be541ed8900d["render.test.js"]
  d88da5d6_a8cb_a272_e8bf_4fc41312b578 -->|defined in| da471585_45ba_f17c_0b97_be541ed8900d
  style d88da5d6_a8cb_a272_e8bf_4fc41312b578 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/integrations/markdoc/test/render.test.js lines 191–199

function renderTypographerChecks(html) {
	const { document } = parseHTML(html);

	const h2 = document.querySelector('h2');
	assert.equal(h2.textContent, 'Typographer’s post');

	const p = document.querySelector('p');
	assert.equal(p.textContent, 'This is a post to test the “typographer” option.');
}

Domain

Subdomains

Frequently Asked Questions

What does renderTypographerChecks() do?
renderTypographerChecks() is a function in the astro codebase, defined in packages/integrations/markdoc/test/render.test.js.
Where is renderTypographerChecks() defined?
renderTypographerChecks() is defined in packages/integrations/markdoc/test/render.test.js at line 191.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free