Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template:Format molecular formula/testcases

From Wikipedia, the free encyclopedia

Input

[edit]
  • O2
  • H2O
  • H2O2
  • C6H12O6
  • NOx
  • Ca2SO4

Target output

[edit]
  • O₂
  • H₂O
  • H₂O₂
  • C₆H₁₂O₆
  • NOₓ
  • Ca₂SO₄
  • This template requires an unnamed parameter (plain tet molecule representation to format as wikitet).
  • O
  • HO
  • HO
  • CHO
  • NO
  • CaSO
  • This template requires an unnamed parameter (plain text molecule representation to format as wikitext).
  • O2
  • H2O
  • H2O2
  • C6H12O6
  • NOx
  • Ca2SO4