From 2198e907adc7f3b4a77bcded8e8845359b562944 Mon Sep 17 00:00:00 2001 From: Gerben Date: Fri, 13 Apr 2018 13:19:33 +0200 Subject: [PATCH] Fix Readme headings --- Readme.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Readme.md b/Readme.md index e885918..09d919b 100644 --- a/Readme.md +++ b/Readme.md @@ -4,21 +4,21 @@ Like [Element.outerHTML][], but for the whole [Document][]. This means it returns a string containing the `.....` with all the content between, plus the `` declaration (if present), and any comments and stray elements or text nodes. -# Install +## Install npm install document-outerhtml -# Usage +## Usage import documentOuterHTML from 'document-outerhtml' const html = documentOuterHTML(document) -# Licence +## Licence [CC0](https://creativecommons.org/publicdomain/zero/1.0/); do whatever you want with this code. -# See also +## See also - [XMLSerializer.serializeToString][]; does nearly the same thing, except it creates XML.