Skip to content

Instantly share code, notes, and snippets.

@muojp
Created August 13, 2016 09:36
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 muojp/975621ab06a92205f638add27797ce9e to your computer and use it in GitHub Desktop.
Save muojp/975621ab06a92205f638add27797ce9e to your computer and use it in GitHub Desktop.
review-2.0.0 glitch
= Bar!
Here's an image (@<img>{myimg1}).
//image[myimg1][My Image]{
//}
And here's another (@<img>{myimg2}).
//image[myimg2][My Image 2]{
//}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xmlns:ops="http://www.idpf.org/2007/ops" xml:lang="ja">
<head>
<meta charset="UTF-8" />
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
<meta name="generator" content="Re:VIEW" />
<title>Bar!</title>
</head>
<body>
<h1><span class="secno"></span>Bar!</h1>
<p>Here's an image (図1).</p>
<div id="myimg1" class="image">
<img src="images/myimg1.png" alt="My Image" />
<p class="caption">
図1 My Image
</p>
</div>
<p>And here's another (図2).</p>
<div id="myimg2" class="image">
<img src="images/myimg2.png" alt="My Image" />
<p class="caption">
図2 My Image 2
</p>
</div>
</body>
</html>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xmlns:ops="http://www.idpf.org/2007/ops" xml:lang="ja">
<head>
<meta charset="UTF-8" />
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
<meta name="generator" content="Re:VIEW" />
<title>Bar!</title>
</head>
<body>
<h1><span class="secno"></span>Bar!</h1>
<p>Here's an image (図%2$d).</p>
<div id="myimg1" class="image">
<img src="images/myimg1.png" alt="My Image" />
<p class="caption">
図%2$d My Image
</p>
</div>
<p>And here's another (図%2$d).</p>
<div id="myimg2" class="image">
<img src="images/myimg2.png" alt="My Image 2" />
<p class="caption">
図%2$d My Image 2
</p>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment