Skip to content

Commit 0de9b27

Browse files
committed
Python and jinja docs
1 parent f4e20de commit 0de9b27

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

doc/switch.txt

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -787,6 +787,28 @@ Task items (g:switch_builtins.markdown_task_item)
787787
- [ ] Task 1
788788
- [x] Task 1
789789
<
790+
Python ~
791+
792+
Dict access (g:switch_builtins.python_dict_get)
793+
>
794+
spam['eggs']
795+
spam.get('eggs')
796+
<
797+
String style (g:switch_builtins.python_string_style)
798+
>
799+
'Ham'
800+
"Ham"
801+
f"Ham"
802+
<
803+
Jinja ~
804+
805+
Tag type (g:switch_builtins.jinja_tag_type)
806+
>
807+
{{ content }}
808+
{% content %}
809+
{# content #}
810+
<
811+
790812

791813
==============================================================================
792814
SETTINGS *switch-settings*

0 commit comments

Comments
 (0)