Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions PRIVACY.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,13 @@ as described above.
- **Cloudflare Web Analytics / RUM** — cookieless page-performance measurement
at the CDN edge. It stores no identifiers in your browser.

The site's footer also embeds Google's **Preferred Sources** button
(`news.google.com/swg/js/v1/publisher.js`), which lets a signed-in reader mark
markdownstudio.dev as a preferred source in their own Google Search settings.
It is a Google-hosted widget, so loading it tells Google the page was viewed,
and it is governed by [Google's privacy policy](https://policies.google.com/privacy).
It sets nothing itself unless you click it, and it is not used for measurement.
Comment on lines +64 to +69

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Update the privacy policy revision date

This adds a new third-party data disclosure while the policy header still says Last updated: July 13, 2026. Because the widget was added on August 26, readers cannot reliably determine whether they have seen the current privacy terms; update the revision date alongside this disclosure.

Useful? React with 👍 / 👎.


Nothing here is used for advertising, and no audiences or profiles are built.

Questions: open an issue at
Expand Down
21 changes: 21 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,16 @@
y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
})(window, document, "clarity", "script", "y6hag03dir");
</script>
<!-- Google Preferred Sources button (news.google.com/swg/js/v1/publisher.js).
Two lines per Google's docs: this loader, plus the
[google-add-preferred-source-btn] element in the footer. The button lets a
signed-in reader mark markdownstudio.dev as a preferred source, which
surfaces this site more often in their Google Search "Top stories" and
Preferred sources results. The script renders and localises the button
itself; it draws nothing if the API is unavailable, so the footer simply
stays empty rather than breaking. -->
<link rel="dns-prefetch" href="https://news.google.com">
<script async src="https://news.google.com/swg/js/v1/publisher.js"></script>
<title>Markdown Studio — free Markdown editor with court-ready PDF export</title>
<meta name="description" content="Free cross-platform Markdown editor that turns drafts into polished PDFs — including court-ready filings. WYSIWYG editing, print profiles, AI-friendly.">
<link rel="canonical" href="https://markdownstudio.dev/">
Expand Down Expand Up @@ -177,6 +187,15 @@
a{color:var(--accent)}
footer{padding:40px 0 56px;color:var(--muted);font-size:.9rem;text-align:center}
code{background:var(--card);padding:2px 6px;border-radius:6px;font-size:.9em}
/* Google renders the preferred-sources button from a static data-theme, so
ship both and let the media query pick — the site follows the OS theme
and has no JS theme toggle. */
.prefsrc{margin-bottom:18px;display:flex;justify-content:center}
.prefsrc-dark{display:none}
@media (prefers-color-scheme: dark){
.prefsrc-light{display:none}
.prefsrc-dark{display:flex}
}
</style>
</head>
<body>
Expand Down Expand Up @@ -279,6 +298,8 @@ <h2>Guides</h2>
</section>

<footer>
<div class="prefsrc prefsrc-light"><div google-add-preferred-source-btn data-lang="en"></div></div>
<div class="prefsrc prefsrc-dark"><div google-add-preferred-source-btn data-theme="dark" data-lang="en"></div></div>
<p>Markdown Studio · <a href="https://github.com/TheSaltyKorean/md">GitHub</a> ·
<a href="https://github.com/TheSaltyKorean/md/blob/main/PRIVACY.md">Privacy</a> ·
<a href="https://github.com/TheSaltyKorean/md/blob/main/LICENSE.md">License</a> ·
Expand Down