<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ilya Letunov</title>
    <description>The latest articles on DEV Community by Ilya Letunov (@lunchick).</description>
    <link>https://dev.to/lunchick</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4249750%2F6f6fadc3-86b6-48e0-ace6-b0e610fd3d9c.png</url>
      <title>DEV Community: Ilya Letunov</title>
      <link>https://dev.to/lunchick</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/lunchick"/>
    <language>en</language>
    <item>
      <title>How to preview an HTML file an AI assistant gave you, and send it to someone</title>
      <dc:creator>Ilya Letunov</dc:creator>
      <pubDate>Tue, 17 Nov 2026 11:49:13 +0000</pubDate>
      <link>https://dev.to/lunchick/how-to-preview-an-html-file-an-ai-assistant-gave-you-and-send-it-to-someone-3i5n</link>
      <guid>https://dev.to/lunchick/how-to-preview-an-html-file-an-ai-assistant-gave-you-and-send-it-to-someone-3i5n</guid>
      <description>&lt;p&gt;ChatGPT, Claude or Gemini writes you a landing page, a report or a small dashboard as one HTML file. You want to see it as a page before you trust it, and then often show it to someone who will not open a code block.&lt;/p&gt;

&lt;p&gt;Here is how to do both, from the fastest local check to sending a link.&lt;/p&gt;

&lt;h2&gt;
  
  
  See it locally
&lt;/h2&gt;

&lt;p&gt;Save the code as &lt;code&gt;page.html&lt;/code&gt; and double-click it. Your browser opens it from disk at a &lt;code&gt;file://&lt;/code&gt; address. This is enough to check that it renders, and it is completely private.&lt;/p&gt;

&lt;p&gt;Two limits: the page only exists on your machine, so you cannot send that address to anyone; and some features (fetching data, certain module scripts) behave differently from &lt;code&gt;file://&lt;/code&gt; than from a real web address.&lt;/p&gt;

&lt;h2&gt;
  
  
  See it without saving anything
&lt;/h2&gt;

&lt;p&gt;If you do not want files piling up in Downloads, paste the code into an online HTML viewer. &lt;a href="https://birta.dev/tools/html-viewer" rel="noopener noreferrer"&gt;Birta's HTML viewer&lt;/a&gt; takes a dropped &lt;code&gt;.html&lt;/code&gt; file or pasted code and shows it as a page:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;styles and scripts inside the document run, in a frame kept apart from the site;&lt;/li&gt;
&lt;li&gt;a phone-width view shows whether the layout survives a small screen;&lt;/li&gt;
&lt;li&gt;a source view lets you fix the code and see the page update;&lt;/li&gt;
&lt;li&gt;nothing leaves your browser until you ask for a link.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is the check worth doing on anything an assistant generated: click the buttons, scroll to the bottom, look at it at phone width. Generated pages most often break on mobile and on content that is longer than the example the model imagined.&lt;/p&gt;

&lt;h2&gt;
  
  
  Send it to someone
&lt;/h2&gt;

&lt;p&gt;A pasted code block or an attached &lt;code&gt;.html&lt;/code&gt; file is a poor way to share a page: messengers and mail clients show it as text or block it. Send a link to the rendered page instead.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://birta.dev/tools/html-to-link" rel="noopener noreferrer"&gt;Birta's Publish HTML tool&lt;/a&gt; does exactly that: paste the code, check the page, get a link anyone can open for 24 hours, with no account on either side. The page is closed to search engines. If it turns out to matter, keep it in a free account and it gets a permanent address and a new version with each change.&lt;/p&gt;

&lt;h2&gt;
  
  
  Quick reference
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;You want to&lt;/th&gt;
&lt;th&gt;Do this&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;check it privately&lt;/td&gt;
&lt;td&gt;open the saved file in your browser&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;check it without saving, including phone width&lt;/td&gt;
&lt;td&gt;an online HTML viewer&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;show it to a person&lt;/td&gt;
&lt;td&gt;send a link to the rendered page&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;keep it online&lt;/td&gt;
&lt;td&gt;put it in an account with a permanent address&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

</description>
      <category>html</category>
      <category>webdev</category>
      <category>beginners</category>
      <category>ai</category>
    </item>
    <item>
      <title>How to open a .md file and read it like a page</title>
      <dc:creator>Ilya Letunov</dc:creator>
      <pubDate>Tue, 17 Nov 2026 11:46:02 +0000</pubDate>
      <link>https://dev.to/lunchick/how-to-open-a-md-file-and-read-it-like-a-page-4po3</link>
      <guid>https://dev.to/lunchick/how-to-open-a-md-file-and-read-it-like-a-page-4po3</guid>
      <description>&lt;p&gt;Someone sends you &lt;code&gt;notes.md&lt;/code&gt;, or an AI assistant hands back a plan as Markdown. You double-click it and get a wall of &lt;code&gt;#&lt;/code&gt;, &lt;code&gt;**&lt;/code&gt; and pipes. The file is fine; you just opened it in something that shows the source instead of rendering it.&lt;/p&gt;

&lt;p&gt;Here are the ways to read it as a page, from the ones already on your machine to the ones that work on any computer.&lt;/p&gt;

&lt;h2&gt;
  
  
  If you have a code editor
&lt;/h2&gt;

&lt;p&gt;VS Code renders Markdown out of the box. Open the file and press &lt;code&gt;Ctrl+Shift+V&lt;/code&gt; (&lt;code&gt;Cmd+Shift+V&lt;/code&gt; on a Mac) for a preview tab, or &lt;code&gt;Ctrl+K V&lt;/code&gt; to see source and preview side by side. Most other editors (Zed, Sublime with a plugin, JetBrains IDEs) have the same thing under a slightly different shortcut.&lt;/p&gt;

&lt;p&gt;This is the best option when you also want to edit the file and keep it on disk.&lt;/p&gt;

&lt;h2&gt;
  
  
  If the file lives on GitHub
&lt;/h2&gt;

&lt;p&gt;Push it to a repository, or paste it into a gist, and GitHub renders it: headings, tables, task lists, code blocks with highlighting. Good for documentation that already belongs in a repo, less good for a one-off file you do not want to commit anywhere.&lt;/p&gt;

&lt;h2&gt;
  
  
  If you are on someone else's computer, or just want it now
&lt;/h2&gt;

&lt;p&gt;An online viewer is the fastest route: no install, no repo. Drop the file in and read it.&lt;/p&gt;

&lt;p&gt;One that works without an account is &lt;a href="https://birta.dev/tools/markdown-viewer" rel="noopener noreferrer"&gt;Birta's Markdown viewer&lt;/a&gt;. Drop a &lt;code&gt;.md&lt;/code&gt; file or paste the text, and it renders headings, lists, tables, task lists, strikethrough and footnotes. A few things it does that matter in practice:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Nothing is uploaded while you read.&lt;/strong&gt; The file is rendered in your browser; it leaves your machine only if you ask for a link.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Edit in place.&lt;/strong&gt; Switch to the Markdown view, fix a typo, and the page updates as you type.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Phone-width view.&lt;/strong&gt; Handy when the file is going to be read on a phone, where wide tables are the first thing to break.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Send it as a page.&lt;/strong&gt; If someone else needs to read it, get a link that opens for 24 hours for anyone, with no account on their side. The recipient sees the rendered page, not the source.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Which one to use
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Situation&lt;/th&gt;
&lt;th&gt;Use&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;You will keep editing the file&lt;/td&gt;
&lt;td&gt;your editor's preview&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;It is project documentation&lt;/td&gt;
&lt;td&gt;the repo on GitHub&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;You need to read it right now, anywhere&lt;/td&gt;
&lt;td&gt;an online viewer&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Someone else has to read it, and they are not technical&lt;/td&gt;
&lt;td&gt;a rendered page sent as a link&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The last row is the one that trips people up. Sending a &lt;code&gt;.md&lt;/code&gt; attachment to a colleague who does not live in a code editor means they open it in Notepad and see the same wall of symbols you started with. Send the rendered page instead.&lt;/p&gt;

</description>
      <category>markdown</category>
      <category>productivity</category>
      <category>beginners</category>
      <category>tools</category>
    </item>
  </channel>
</rss>
