From be19e9db5cd591d0dea0603b0b82b1491e77677b Mon Sep 17 00:00:00 2001 From: s-ol Date: Sat, 27 Oct 2018 16:48:25 +1100 Subject: styling --- app/tablefs/tablefs.moon | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'app/tablefs/tablefs.moon') 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 -- cgit v1.2.3