Skip to content

Instantly share code, notes, and snippets.

@skoji
Created March 11, 2014 22:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skoji/9496652 to your computer and use it in GitHub Desktop.
Save skoji/9496652 to your computer and use it in GitHub Desktop.
# Markdown-ish heading with explicit setion boundary
---
lang: ja
title: test title
stylesheets: css/normalize.css, css/main.css
---
=: this is the first heading
This line is in a section.
This line is in a section.
==: this is the second heading with explicit boundary {
This section is nested.
}
Here is in the first section again.
=: this is the third heading
will terminate same level section
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja">
<head>
<title>test title</title>
<link rel="stylesheet" type="text/css" href="css/normalize.css, css/main.css" />
</head>
<body>
<section><h1 id='heading_index_1'>this is the first heading</h1>
<div class='pgroup'><p>This line is in a section.</p>
<p>This line is in a section.</p>
</div>
<section><h2 id='heading_index_2'>this is the second heading with explicit boundary</h2>
<div class='pgroup'><p>This section is nested.</p>
</div>
</section>
<div class='pgroup'><p>Here is in the first section again.</p>
</div>
</section>
<section><h1 id='heading_index_3'>this is the third heading</h1>
<div class='pgroup'><p>will terminate same level section.</p>
</div>
</section>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment