Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for syntaxHighlight (0.09 sec)

  1. docs/de/docs/how-to/configure-swagger-ui.md

    Ohne Änderung der Einstellungen ist die Syntaxhervorhebung standardmäßig aktiviert:
    
    <img src="/img/tutorial/extending-openapi/image02.png">
    
    Sie können sie jedoch deaktivieren, indem Sie `syntaxHighlight` auf `False` setzen:
    
    ```Python hl_lines="3"
    {!../../docs_src/configure_swagger_ui/tutorial001.py!}
    ```
    
    ... und dann zeigt die Swagger-Oberfläche die Syntaxhervorhebung nicht mehr an:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. docs/pt/docs/how-to/configure-swagger-ui.md

    Sem alterar as configurações, o destaque de sintaxe é habilitado por padrão:
    
    <img src="/img/tutorial/extending-openapi/image02.png">
    
    Mas você pode desabilitá-lo definindo `syntaxHighlight` como `False`:
    
    ```Python hl_lines="3"
    {!../../docs_src/configure_swagger_ui/tutorial001.py!}
    ```
    
    ...e então o Swagger UI não mostrará mais o destaque de sintaxe:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. docs/en/docs/how-to/configure-swagger-ui.md

    But you can disable it by setting `syntaxHighlight` to `False`:
    
    {* ../../docs_src/configure_swagger_ui/tutorial001.py hl[3] *}
    
    ...and then Swagger UI won't show the syntax highlighting anymore:
    
    <img src="/img/tutorial/extending-openapi/image03.png">
    
    ## Change the Theme
    
    The same way you could set the syntax highlighting theme with the key `"syntaxHighlight.theme"` (notice that it has a dot in the middle):
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 16:50:52 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. docs/zh/docs/how-to/configure-swagger-ui.md

    当没有改变设置时,语法高亮默认启用:
    
    <img src="/img/tutorial/extending-openapi/image02.png">
    
    但是你可以通过设置 `syntaxHighlight` 为 `False` 来禁用 Swagger UI 中的语法高亮:
    
    ```Python hl_lines="3"
    {!../../docs_src/configure_swagger_ui/tutorial001.py!}
    ```
    
    ...在此之后,Swagger UI 将不会高亮代码:
    
    <img src="/img/tutorial/extending-openapi/image03.png">
    
    ## 改变主题
    
    同样地,你也可以通过设置键 `"syntaxHighlight.theme"` 来设置语法高亮主题(注意中间有一个点):
    
    ```Python hl_lines="3"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top