diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,3 @@
+# 0.2.0
+
+- Remove margins in generated HTML.
diff --git a/prettyprinter-lucid.cabal b/prettyprinter-lucid.cabal
--- a/prettyprinter-lucid.cabal
+++ b/prettyprinter-lucid.cabal
@@ -8,8 +8,10 @@
 license-file:        LICENSE
 author:              George Thomas
 maintainer:          georgefsthomas@gmail.com
-version:             0.1.0.1
-extra-doc-files:     README.md
+version:             0.2.0
+extra-doc-files:
+    CHANGELOG.md
+    README.md
 
 source-repository head
     type: git
@@ -19,10 +21,10 @@
     exposed-modules:
         Prettyprinter.Lucid
     build-depends:
-        base ^>= {4.12, 4.13, 4.14},
-        lucid ^>= 2.9.12,
+        base ^>= {4.12, 4.13, 4.14, 4.15, 4.16, 4.17, 4.18, 4.19, 4.20},
+        lucid ^>= {2.9.12, 2.10, 2.11},
         prettyprinter ^>= 1.7.0,
-        text ^>= 1.2.3,
+        text ^>= {1.2.3, 2.0, 2.1},
     hs-source-dirs:
         src
     ghc-options:
diff --git a/src/Prettyprinter/Lucid.hs b/src/Prettyprinter/Lucid.hs
--- a/src/Prettyprinter/Lucid.hs
+++ b/src/Prettyprinter/Lucid.hs
@@ -2,6 +2,7 @@
 
 import qualified Data.Text as T
 import Lucid (Html, ToHtml (toHtml), br_, pre_)
+import Lucid.Base (makeAttribute)
 import Prettyprinter.Render.Util.SimpleDocTree (SimpleDocTree (..))
 
 renderHtml :: SimpleDocTree (Html () -> Html ()) -> Html ()
@@ -13,4 +14,4 @@
             STLine i -> br_ [] >> toHtml (T.replicate i $ T.singleton ' ')
             STAnn ann content -> ann $ go content
             STConcat contents -> foldMap go contents
-     in pre_ . go
+     in pre_ [makeAttribute "style" "margin: 0"] . go
