bug.n/doc/Cheat_sheet
joten 6e6b889381 Added creating a cheat sheet to the build process 2018-01-13 22:19:16 +01:00
..
Default_hotkeys.md reformatted doc\Default_hotkeys.md ... 2016-05-10 22:42:02 +02:00
README.md reformatted doc\Default_hotkeys.md ... 2016-05-10 22:42:02 +02:00
cheat_sheet.css Added creating a cheat sheet to the build process 2018-01-13 22:19:16 +01:00
cheat_sheet.html reformatted doc\Default_hotkeys.md ... 2016-05-10 22:42:02 +02:00
cheat_sheet.pdf reformatted doc\Default_hotkeys.md ... 2016-05-10 22:42:02 +02:00
reset.css Created a cheat sheet, ... 2015-07-11 10:52:26 +02:00

README.md

README

The cheat sheet was created from bug.n/doc/Default_hotkeys.md as a source by

  • copying the file to bug.n/doc/Cheat_sheet/
  • changing the title from "Default hotkeys" to "bug.n default hotkeys"
  • removing the section "General description"
  • finding and replacing \r\n-------------------------------------------------------------------------------\r\n with \r\n (lpeg pattern)
  • finding and replacing \r\n> .-\r\n\r\n with \r\n (lpeg pattern) -- This step has to be repeated. There are sections, which contain more than one additional paragraph.
  • finding and replacing `Config_hotkey= with #### <kbd>
  • finding and replacing ::.-\r\n with </kbd> (lpeg pattern)
  • finding and replacing <kbd># with <kbd>Win</kbd><kbd>
  • finding and replacing <kbd>! with <kbd>Alt</kbd><kbd>
  • finding and replacing <kbd>^ with <kbd>Ctrl</kbd><kbd>
  • finding and replacing <kbd>+ with <kbd>Shift</kbd><kbd> (no lpeg pattern)
  • finding and replacing <n> with &lt;n&gt;
  • converting the markdown to HTML with the following command: pandoc -o cheat_sheet.html -S --section-divs -c reset.css -c cheat_sheet.css Default_hotkeys.md

-- No, neither the resulting markdown, nor the HTML source is pretty. But with the accompanying CSS it looks good -- in Chromium browser at least.