2015-07-11 08:52:26 +00:00
|
|
|
## 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"
|
2015-07-15 20:46:00 +00:00
|
|
|
* removing the section "General description"
|
2015-07-15 21:10:10 +00:00
|
|
|
* finding and replacing `\r\n\r\n[^#*```>].-\r\n\r\n` with `\r\n\r\n` (lpeg pattern)
|
2015-07-15 20:46:00 +00:00
|
|
|
-- This step has to be repeated. There are sections, which contain more than one additional paragraph.
|
2015-07-15 21:10:10 +00:00
|
|
|
* finding and replacing ``Config_hotkey=` with `#### <kbd>`
|
2015-07-15 20:46:00 +00:00
|
|
|
* finding and replacing `::.-\n> ` with `</kbd>\n` (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>`
|
|
|
|
* finding and replacing `<n>` with `<n>`
|
2015-07-11 08:52:26 +00:00
|
|
|
* 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
|
2015-07-11 12:52:04 +00:00
|
|
|
the accompanying CSS it looks good -- in Chromium browser at least.
|