Home / Function/ isExtraParagraphPatternMatch() — astro Function Reference

isExtraParagraphPatternMatch() — astro Function Reference

Architecture documentation for the isExtraParagraphPatternMatch() function in html-token-transform.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  30920b8b_e40d_ddeb_c282_b087fed00691["isExtraParagraphPatternMatch()"]
  b514e53d_6f58_26e2_b444_6fdf850f8be2["html-token-transform.ts"]
  30920b8b_e40d_ddeb_c282_b087fed00691 -->|defined in| b514e53d_6f58_26e2_b444_6fdf850f8be2
  d4c791f9_288b_c18a_7009_bcc35ee52e42["findExtraParagraphUnderHtml()"]
  d4c791f9_288b_c18a_7009_bcc35ee52e42 -->|calls| 30920b8b_e40d_ddeb_c282_b087fed00691
  67c1564c_5e56_78e3_f588_79b61b2bcf52["isHtmlTagOpen()"]
  30920b8b_e40d_ddeb_c282_b087fed00691 -->|calls| 67c1564c_5e56_78e3_f588_79b61b2bcf52
  7650c111_3e84_294c_2d16_6531d1064eaf["isParagraphOpen()"]
  30920b8b_e40d_ddeb_c282_b087fed00691 -->|calls| 7650c111_3e84_294c_2d16_6531d1064eaf
  5c734ed7_7524_8dcf_97d4_b1f714dbbfe7["isInline()"]
  30920b8b_e40d_ddeb_c282_b087fed00691 -->|calls| 5c734ed7_7524_8dcf_97d4_b1f714dbbfe7
  8f9a956a_dd6b_77d0_ec9d_9a058552f907["isParagraphClose()"]
  30920b8b_e40d_ddeb_c282_b087fed00691 -->|calls| 8f9a956a_dd6b_77d0_ec9d_9a058552f907
  0353ce08_cf82_a8f1_166e_1de0ec07acae["isHtmlTagClose()"]
  30920b8b_e40d_ddeb_c282_b087fed00691 -->|calls| 0353ce08_cf82_a8f1_166e_1de0ec07acae
  style 30920b8b_e40d_ddeb_c282_b087fed00691 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/integrations/markdoc/src/html/transform/html-token-transform.ts lines 222–230

function isExtraParagraphPatternMatch(slice: Token[]): boolean {
	const match =
		isHtmlTagOpen(slice[0]) &&
		isParagraphOpen(slice[1]) &&
		isInline(slice[2]) &&
		isParagraphClose(slice[3]) &&
		isHtmlTagClose(slice[4]);
	return match;
}

Domain

Subdomains

Frequently Asked Questions

What does isExtraParagraphPatternMatch() do?
isExtraParagraphPatternMatch() is a function in the astro codebase, defined in packages/integrations/markdoc/src/html/transform/html-token-transform.ts.
Where is isExtraParagraphPatternMatch() defined?
isExtraParagraphPatternMatch() is defined in packages/integrations/markdoc/src/html/transform/html-token-transform.ts at line 222.
What does isExtraParagraphPatternMatch() call?
isExtraParagraphPatternMatch() calls 5 function(s): isHtmlTagClose, isHtmlTagOpen, isInline, isParagraphClose, isParagraphOpen.
What calls isExtraParagraphPatternMatch()?
isExtraParagraphPatternMatch() is called by 1 function(s): findExtraParagraphUnderHtml.

Analyze Your Own Codebase

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

Try Supermodel Free