Skip to content

Commit 8ce1ca7

Browse files
committed
fix: centering table
1 parent dd55720 commit 8ce1ca7

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

packages/zenn-cli/articles/example.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ var foo = function (bar) {
136136
};
137137

138138
console.log(foo(5));
139+
// 👇can scroll horizontally
140+
console.log(aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa);
139141
```
140142

141143
## Tables
@@ -155,6 +157,20 @@ Right aligned columns
155157
| ext | extension to be used for dest files. |
156158

157159

160+
| Option | Description |
161+
| ------ | ----------- |
162+
| data | path to data files to supply the data that will be passed into templates. |
163+
| engine | engine to be used for processing templates. Handlebars is the default. |
164+
| ext | extension to be used for dest files. |
165+
166+
Right aligned columns
167+
168+
| Option | Description |
169+
| ------:| -----------:|
170+
| data | path |
171+
172+
173+
158174
## Links
159175

160176
[link text](http://dev.nodeca.com)

packages/zenn-content-css/lib/index.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/zenn-content-css/src/_content.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ blockquote {
188188
}
189189
}
190190
table {
191-
margin: 1.2rem 0;
191+
margin: 1.2rem auto;
192192
width: auto;
193193
border-collapse: collapse;
194194
font-size: 0.95em;

0 commit comments

Comments
 (0)