@@ -4611,6 +4611,46 @@ The following fields are recognized:
4611[MARC relators]: http://loc.gov/marc/relators/relaterm.html
4611[MARC relators]: http://loc.gov/marc/relators/relaterm.html
4612[`spine` element]: http://idpf.org/epub/301/spec/epub-publications.html#sec-spine-elem
4612[`spine` element]: http://idpf.org/epub/301/spec/epub-publications.html#sec-spine-elem
4614+The `epub:type` attribute
4615+-------------------------
4617+You can mark up the header that corresponds to an EPUB chapter using the
4618+[`epub:type` attribute][epub-type]. For example, to set the attribute
4619+to the value `prologue`, use this markdown:
4621+ # My chapter {epub:type=prologue}
4623+Which will result in:
4625+ <body epub:type="frontmatter">
4626+ <section epub:type="prologue">
4627+ <h1>My chapter</h1>
4629+Pandoc will output `<body epub:type="bodymatter">`, unless
4630+you use one of the following values, in which case either
4631+`frontmatter` or `backmatter` will be output.
4633+`epub:type` of first section `epub:type` of body
4634+---------------------------- ------------------
4635+prologue frontmatter
4636+abstract frontmatter
4637+acknowledgments frontmatter
4638+copyright-page frontmatter
4639+dedication frontmatter
4640+foreword frontmatter
4641+halftitle, frontmatter
4642+introduction frontmatter
4644+seriespage frontmatter
4645+titlepage frontmatter
4646+afterword backmatter
4649+conclusion backmatter
4652+[epub-type]: http://www.idpf.org/epub/31/spec/epub-contentdocs.html#sec-epub-type-attribute
4614Linked media
4654Linked media
4615------------
4655------------