Skip to content

Commit

Permalink
Python and jinja docs
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewRadev committed Jan 11, 2025
1 parent f4e20de commit 0de9b27
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions doc/switch.txt
Original file line number Diff line number Diff line change
Expand Up @@ -787,6 +787,28 @@ Task items (g:switch_builtins.markdown_task_item)
- [ ] Task 1
- [x] Task 1
<
Python ~

Dict access (g:switch_builtins.python_dict_get)
>
spam['eggs']
spam.get('eggs')
<
String style (g:switch_builtins.python_string_style)
>
'Ham'
"Ham"
f"Ham"
<
Jinja ~

Tag type (g:switch_builtins.jinja_tag_type)
>
{{ content }}
{% content %}
{# content #}
<


==============================================================================
SETTINGS *switch-settings*
Expand Down

0 comments on commit 0de9b27

Please sign in to comment.