Sigh, asciidoctor behaves differently from asciidoc

This commit is contained in:
Kovid Goyal
2016-12-08 10:37:06 +05:30
parent 57a0dc7f07
commit 520c5701c5
2 changed files with 29 additions and 29 deletions

View File

@@ -2,34 +2,34 @@
:toc: :toc:
:toc-placement!: :toc-placement!:
// START_SHORTCUT_BLOCK // START_SHORTCUT_BLOCK
:sc_paste_from_clipboard: `ctrl+shift+v` :sc_paste_from_clipboard: ctrl+shift+v
:sc_paste_from_selection: `ctrl+shift+s` :sc_paste_from_selection: ctrl+shift+s
:sc_copy_to_clipboard: `ctrl+shift+c` :sc_copy_to_clipboard: ctrl+shift+c
:sc_scroll_line_up: `ctrl+shift+up` :sc_scroll_line_up: ctrl+shift+up
:sc_scroll_line_down: `ctrl+shift+down` :sc_scroll_line_down: ctrl+shift+down
:sc_scroll_page_up: `ctrl+shift+page_up` :sc_scroll_page_up: ctrl+shift+page_up
:sc_scroll_page_down: `ctrl+shift+page_down` :sc_scroll_page_down: ctrl+shift+page_down
:sc_scroll_home: `ctrl+shift+home` :sc_scroll_home: ctrl+shift+home
:sc_scroll_end: `ctrl+shift+end` :sc_scroll_end: ctrl+shift+end
:sc_new_window: `ctrl+shift+enter` :sc_new_window: ctrl+shift+enter
:sc_next_window: `ctrl+shift+]` :sc_next_window: ctrl+shift+]
:sc_previous_window: `ctrl+shift+[` :sc_previous_window: ctrl+shift+[
:sc_close_window: `ctrl+shift+w` :sc_close_window: ctrl+shift+w
:sc_next_layout: `ctrl+shift+l` :sc_next_layout: ctrl+shift+l
:sc_first_window: `ctrl+shift+1` :sc_first_window: ctrl+shift+1
:sc_second_window: `ctrl+shift+2` :sc_second_window: ctrl+shift+2
:sc_third_window: `ctrl+shift+3` :sc_third_window: ctrl+shift+3
:sc_fourth_window: `ctrl+shift+4` :sc_fourth_window: ctrl+shift+4
:sc_fifth_window: `ctrl+shift+5` :sc_fifth_window: ctrl+shift+5
:sc_sixth_window: `ctrl+shift+6` :sc_sixth_window: ctrl+shift+6
:sc_seventh_window: `ctrl+shift+7` :sc_seventh_window: ctrl+shift+7
:sc_eighth_window: `ctrl+shift+8` :sc_eighth_window: ctrl+shift+8
:sc_ninth_window: `ctrl+shift+9` :sc_ninth_window: ctrl+shift+9
:sc_tenth_window: `ctrl+shift+0` :sc_tenth_window: ctrl+shift+0
:sc_next_tab: `ctrl+shift+right` :sc_next_tab: ctrl+shift+right
:sc_previous_tab: `ctrl+shift+left` :sc_previous_tab: ctrl+shift+left
:sc_new_tab: `ctrl+shift+t` :sc_new_tab: ctrl+shift+t
:sc_close_tab: `ctrl+shift+q` :sc_close_tab: ctrl+shift+q
// END_SHORTCUT_BLOCK // END_SHORTCUT_BLOCK
image::https://travis-ci.org/kovidgoyal/kitty.svg?branch=master[Build status, link=https://travis-ci.org/kovidgoyal/kitty] image::https://travis-ci.org/kovidgoyal/kitty.svg?branch=master[Build status, link=https://travis-ci.org/kovidgoyal/kitty]

View File

@@ -14,7 +14,7 @@ defns = []
for line in open('kitty/kitty.conf'): for line in open('kitty/kitty.conf'):
if line.startswith('map '): if line.startswith('map '):
_, sc, name = line.split(maxsplit=3) _, sc, name = line.split(maxsplit=3)
defns.append(':sc_{}: `{}`'.format(name, sc)) defns.append(':sc_{}: {}'.format(name, sc))
defns = '\n'.join(defns) defns = '\n'.join(defns)