-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmarkdown-tools-books.html
113 lines (85 loc) · 2.43 KB
/
markdown-tools-books.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
---
layout: default
title: Markdown Tools › Books
---
<style>
/* todo: move to style.css e.g. _gallery.scss */
.container { /* make container bigger - was 38rem; */
max-width: 52rem;
}
.gallery {
}
.gallery .tool {
display: inline-block;
vertical-align: top;
/* text-align: center; */
width: 284px; /* note: 250(10+10? left+right padding?)+24x add margin+border */
/* background-color: white; */
margin-bottom: 24px; /* was: 15px; */
margin-right: 24px; /* was: 15px; */
padding: 10px 15px;
}
</style>
<h1>Markdown Tools › Books</h1>
<h2>Open Source Tools for Building / Compiling Books from Markdown Manuscripts - From Plain Text to HTML (+EPUB) n LaTeX (PDF)</h2>
<div class='gallery'>
{% for tool in site.data.markdown_tools_books.tools %}
<div class='tool'>
<div>
<b style="font-size: 140%">{{ tool.title }}</b> <br>
by {{ tool.author }} <br>
★{{ tool.stats.stars }}
</div>
{% if tool.desc %}
<div style="font-size: 80%">
{{ tool.desc }}
</div>
{% endif %}
<div style="font-size: 80%">
<!-- info -->
<table>
<tr><td>Language:</td><td>{{ tool.language }}</td></tr>
<tr><td>Templates:</td><td>{{ tool.templates }}</td></tr>
<tr><td>Formats:</td><td>{{ tool.formats | join: ', ' }}</td></tr>
</table>
</div>
<div>
<!-- buttons / links -->
{% if tool.github %}
<a href="http://github.com/{{ tool.github }}">[Source]</a>
{% endif %}
{% if tool.package %}
<a href="{{ tool.package }}">[Package]</a>
{% endif %}
{% if tool.web %}
<a href="{{ tool.web }}">[More Info]</a>
{% endif %}
</div>
</div><!-- tool -->
{% endfor %}
</div><!-- gallery -->
<div>
<h2>How-To Add Your Tool</h2>
<ul>
<li>Fork the <a href="https://github.com/mundimark/markdown-tools-books"><code>/markdown-tools-books</code></a>
repo on GitHub</li>
<li>
Add a new entry in the <a href="https://github.com/mundimark/markdown-tools-books/blob/master/tools.yml"><code>tools.yml</code></a>
file and fill out all fields. Example:
<pre>
- title: Pandoc
author: John MacFarlane et al
formats: [html (+epub), latex (pdf)]
templates: Custom (Pandoc)
github: jgm/pandoc
language: Haskell
web: http://pandoc.org</pre>
</li>
<li>
Thanks!
</li>
</ul>
<!--
<h2>Thanks</h2>
-->
</div>