diff options
author | Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk> | 2014-01-10 05:37:17 +0000 |
---|---|---|
committer | Austin Seipp <austin@well-typed.com> | 2014-01-12 14:48:35 -0600 |
commit | ef9aa98d6ccbe79888c501f94c9aa6688520c28e (patch) | |
tree | c8b86e469383ebcac5472300608355d410e6942a /html-test | |
parent | d08865e42e7b03348549b79cdc251f444516bc34 (diff) |
Support for bold.
Conflicts:
src/Haddock/Backends/Hoogle.hs
src/Haddock/Interface/Rename.hs
src/Haddock/Parser.hs
Diffstat (limited to 'html-test')
-rw-r--r-- | html-test/ref/Bold.html | 101 | ||||
-rw-r--r-- | html-test/src/Bold.hs | 9 |
2 files changed, 110 insertions, 0 deletions
diff --git a/html-test/ref/Bold.html b/html-test/ref/Bold.html new file mode 100644 index 00000000..4d5f559a --- /dev/null +++ b/html-test/ref/Bold.html @@ -0,0 +1,101 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" +><head + ><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" + /><title + >Bold</title + ><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" + /><script src="haddock-util.js" type="text/javascript" + ></script + ><script type="text/javascript" + >//<![CDATA[ +window.onload = function () {pageLoad();setSynopsis("mini_Bold.html");}; +//]]> +</script + ></head + ><body + ><div id="package-header" + ><ul class="links" id="page-menu" + ><li + ><a href="index.html" + >Contents</a + ></li + ><li + ><a href="doc-index.html" + >Index</a + ></li + ></ul + ><p class="caption empty" + > </p + ></div + ><div id="content" + ><div id="module-header" + ><table class="info" + ><tr + ><th + >Safe Haskell</th + ><td + >Safe-Inferred</td + ></tr + ></table + ><p class="caption" + >Bold</p + ></div + ><div id="synopsis" + ><p id="control.syn" class="caption expander" onclick="toggleSection('syn')" + >Synopsis</p + ><ul id="section.syn" class="hide" onclick="toggleSection('syn')" + ><li class="src short" + ><a href="#v:foo" + >foo</a + > :: t</li + ></ul + ></div + ><div id="interface" + ><h1 + >Documentation</h1 + ><div class="top" + ><p class="src" + ><a name="v:foo" class="def" + >foo</a + > :: t</p + ><div class="doc" + ><p + >Some <strong + >bold text</strong + >.</p + ><ul + ><li + ><strong + >Bold</strong + > in a list +</li + ></ul + ><dl + ><dt + ><strong + >bold in a definition</strong + ></dt + ><dd + >list +</dd + ></dl + ><pre + > bold <strong + >in</strong + > a <strong + >code</strong + > block</pre + ></div + ></div + ></div + ></div + ><div id="footer" + ><p + >Produced by <a href="http://www.haskell.org/haddock/" + >Haddock</a + > version 2.14.0</p + ></div + ></body + ></html +> diff --git a/html-test/src/Bold.hs b/html-test/src/Bold.hs new file mode 100644 index 00000000..7ff28ef9 --- /dev/null +++ b/html-test/src/Bold.hs @@ -0,0 +1,9 @@ +module Bold where +-- | Some __bold text__. +-- +-- * __Bold__ in a list +-- +-- [__bold in a definition__] list +-- +-- @ bold __in__ a __code__ block @ +foo = undefined |