diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2018-10-27 05:48:25 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2018-10-27 05:48:25 +0000 |
| commit | be19e9db5cd591d0dea0603b0b82b1491e77677b (patch) | |
| tree | b944b59f57f163a3433a2e211197a0965adaea9a /app/tablefs/tablefs.moon | |
| parent | lot more writing about tablefs (diff) | |
| download | mmm-be19e9db5cd591d0dea0603b0b82b1491e77677b.tar.gz mmm-be19e9db5cd591d0dea0603b0b82b1491e77677b.zip | |
styling
Diffstat (limited to 'app/tablefs/tablefs.moon')
| -rw-r--r-- | app/tablefs/tablefs.moon | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/tablefs/tablefs.moon b/app/tablefs/tablefs.moon index 9bec786..4983b6e 100644 --- a/app/tablefs/tablefs.moon +++ b/app/tablefs/tablefs.moon @@ -7,7 +7,11 @@ Fileder { _code = code (str) -> _code str\match '^ *(..-) *$' - article with _this = {} + center = (contents) -> + contents.style = { margin: 'auto', 'max-width': '750px' } + article contents + + center with _this = {} append = (a) -> table.insert _this, a footnote, getnotes = do |
