---
title: "Discussion on \"captureDOM function in snapDOM codebase - part 2\" | Hashnode"
description: "Discussion on \"captureDOM function in snapDOM codebase - part 2\". In this article, we review captureDOM function in snapDOM codebase. This review is split into 2 parts. We will look at:\n\nembedCustomFonts\n\ncollectUsedTagNames\n\ngenerateDedupedBaseCSS\n\n\n\nembedCustomFonts\nYou will find the following code in modules/fon..."
url: "https://hashnode.com/posts/capturedom-function-in-snapdom-codebase-part-2/689f5296c7254b750f12dffc"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [captureDOM function in snapDOM codebase - part 2](https://thinkthroo.com/blog/capturedom-function-in-snapdom-codebase-part-2?utm_source=hashnode&utm_medium=feed)

In this article, we review captureDOM function in snapDOM codebase. This review is split into 2 parts. We will look at: embedCustomFonts collectUsedTagNames generateDedupedBaseCSS embedCustomFonts You will find the following code in modules/fon...

Aug 15, 2025 · 2 min read · thinkthroo.com  
Read the article

-   [#snapdom](https://hashnode.com/tag/snapdom)
-   [#dom](https://hashnode.com/tag/dom)
-   [#opensource](https://hashnode.com/tag/opensource)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#capturedom](https://hashnode.com/tag/capturedom)

## Written by

[Ramu Narasinga](https://hashnode.com/@ramunarasinga)

@ramunarasinga · India

  
[View profile](https://hashnode.com/@ramunarasinga)

I study large open-source projects and create content about their codebase architecture and best practices, sharing it through articles, videos.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
