html_wysiwyg

Dev tools

html and css teaching demo

SHOW HN2019

633points
94comments
#17of 2,195 in 2019
Top 1%of 2019 by points

How HN took it

MixedNo clear lean

20 positive, 17 neutral or asking, 2 mixed, 5 critical, out of 44 comments about the project. Thread score +0.33.

Idea: 9 for, 1 againstDesign: 4 for, 1 againstExecution: 1 for, 2 againstPerformance: 1 for, 0 againstPrivacy: 0 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Clever idea that teaches how HTML and CSS work

    From 4 comments
    • This stylesheet would be a really great one to write an HTML/CSS primer in, since it exposes everything -- like a "You, too, can write HTML!"
      acdw on HN
    • It's kind of like the invisible man. Here's how everything works. Might be a great way to see that webpages aren't magic interfaces, but built on relatively simple rules.
      nkrisc on HN
    • Wow, I didn't know this was possible: The main trick lies in ``` * { display: block; } ``` making literally every element visible (including stuff like <head> or <script>). The…
      blauditore on HN
    • This is the first time I've seen something that calls itself a "brutalist" web page actually expose its structure, the way I understand brutalism. It also reminded me of reading…
      JasonFruit on HN
  • Readable and fun to explore

    From 3 comments

Objections

  • Tags cannot be selected or found with ctrl+f because they are CSS pseudo-elements

    From 3 comments
    • even though the source is visible, the tags are unselectable. adding that would make it perfect imho. just heard about quines the other day so pretty cool to see one :D good…
      vectorEQ on HN
    • CSS spec says no, unfortunately. Pseudo-elements aren't part of the DOM and thus can't be selected by any means.
      coreymatyas on HN
    • I also noticed that ctrl+f doesn't find search that text either.
      collinmanderson on HN
  • Not really brutalist in style

    From 1 comment
    • It's nice... but it's kind of the opposite of brutalist style. If you really want to serve a "brutalist" HTML page easily, just send it with text headers.
      krapp on HN

Requests

  • Make the tags selectable

    From 1 comment
    • even though the source is visible, the tags are unselectable. adding that would make it perfect imho. just heard about quines the other day so pretty cool to see one :D good…
      vectorEQ on HN
  • Show the actual HTML source link instead of GitHub

    From 1 comment
    • I was hoping that the last link to the source code would open the actual HTML source code (instead of the link to github), just to show how it is exactly the same as the page
      BaraBatman on HN

Questions

  • Why do empty lines appear in the output

    From 2 comments
    • Tried to replicate the technique in a minimal example: https://no-gravity.github.io/html-quine/index.html I am getting some additional empty lines in the output. And the closing…
      no_gravity on HN
    • Then the empty lines that are in the source are missing in the output. Looks like the Show HN avoids this by not having empty lines in text.
      no_gravity on HN
  • Why does style tag text escape

    From 1 comment
    • > The only other style that is special is "style" itself, which has to include an escape character to avoid being taken literally. ``` style::before {content:'<style>'}…
      kccqzy on HN

Alternatives named

  • Browser Reveal Codes mode in WordPerfect

    From 1 comment
    • Who else is old enough to remember WordPerfect's "Reveal Codes" mode? Same thing.
      pavlov on HN
  • Markdown rendered via CSS trick

    From 2 comments
    • I once did a very similar thing to render HTML as unrendered Markdown: https://gist.github.com/ImJasonH/c00cdd7aece6945fb8ea
      ImJasonH on HN
    • Yes, the article actually links to a demo of this technique! https://mrcoles.com/demo/markdown-css/
      neogodless on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/20094866)