diff --git a/README.md b/README.md index b70a870..87a53ee 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,9 @@ # The plaintextaccounting.org website This is the source for [plaintextaccounting.org](https://plaintextaccounting.org), -an information portal and community hub for Plain Text Accounting and -related tools: Ledger, hledger, beancount, etc. +an information portal and community hub for Plain Text Accounting. +It is maintained by Simon Michael and fellow PTA fans like you. +All help welcome! The site's repo is https://github.com/plaintextaccounting/plaintextaccounting. The site is markdown pages with double-bracket wiki links, rendered by [Pandoc]. @@ -19,14 +20,33 @@ Changes merged in the master branch should appear at plaintextaccounting.org wit ## Contributing -Maintenance is led by Simon Michael; all help is welcome! You can: - - drop in to the [#plaintextaccounting chat room](https://plaintextaccounting.org/#newsdiscussion) on Matrix.org and suggest changes (there is also an older `#plaintextaccounting` IRC channel on Libera.chat) - or log in with a Github account, then use the Edit / New Page buttons at top right - or `git clone https://github.com/plaintextaccounting/plaintextaccounting.wiki.git`, make changes, and send a PR or push - or discuss issues in the [Github issue tracker](https://github.com/plaintextaccounting/plaintextaccounting/issues). +### Editing tips + +The markup is Pandoc markdown +(specifically `markdown-smart-tex_math_dollars+autolink_bare_uris+wikilinks_title_after_pipe`, +or whatever is in Makefile), +plus [[double-bracket wiki links]] similar to Obsidian's. + +To see an accurate preview while editing, clone locally and run `make watch` +(requires pandoc and livereloadx). +Or, here are some ways to see an approximate preview: + +- Use Obsidian's editing or reading modes +- Use VS Code's Markdown Preview Enhanced extension +- Use Github's Preview tab (at github.com) + +If you edit with Emacs markdown-mode: + +- S-TAB cycles heading/content visibility +- TAB on a heading cycles visibility of that section +- C-x n s/C-x n w on a heading narrows to/widens from that section + ### How to make a change through the web 1. Log in to Github and click the pencil at diff --git a/out/css/site.css b/out/css/site.css index 3b60f66..d62a9e0 100644 --- a/out/css/site.css +++ b/out/css/site.css @@ -4,24 +4,12 @@ body { font-size:large; } -h1, h2, h3 { +h1, h2, h3, h4, h5, h6 { font-weight:bold; white-space:nowrap; + text-shadow: 1px 1px 2px white; } -/* -p > strong > a, p > strong > a:hover { - text-decoration:none; - color:black; -} -*/ - .tight p { margin:0; } - -/* -li { - margin-bottom:0; -} -*/ diff --git a/src/index.md b/src/index.md index 7046540..54cfb78 100644 --- a/src/index.md +++ b/src/index.md @@ -1,70 +1,12 @@ % Plain Text Accounting (PTA) - -This is pandoc markdown with [[double-bracket wiki links]] added. -See Makefile and README for more details. - -If editing via github web UI: -- you can see an approximate preview with the Preview tab - -If editing in a local clone: -- you can use make watch to see an accurate preview - -If editing with emacs markdown-mode: -- S-TAB cycles heading/content visibility -- TAB on a heading cycles visibility of that section -- C-x n s/C-x n w on a heading narrows to/widens from that section - ---> - - - -