Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for syntaxHighlight (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs_src/configure_swagger_ui/tutorial002_py310.py

    from fastapi import FastAPI
    
    app = FastAPI(swagger_ui_parameters={"syntaxHighlight": {"theme": "obsidian"}})
    
    
    @app.get("/users/{username}")
    async def read_user(username: str):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 221 bytes
    - Click Count (0)
  2. 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_py310.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 { #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):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  3. docs/zh/docs/how-to/configure-swagger-ui.md

    当没有改变设置时,语法高亮默认启用:
    
    <img src="/img/tutorial/extending-openapi/image02.png">
    
    但是你可以通过设置 `syntaxHighlight` 为 `False` 来禁用 Swagger UI 中的语法高亮:
    
    {* ../../docs_src/configure_swagger_ui/tutorial001_py310.py hl[3] *}
    
    ...在此之后,Swagger UI 将不会高亮代码:
    
    <img src="/img/tutorial/extending-openapi/image03.png">
    
    ## 改变主题 { #change-the-theme }
    
    同样地,你也可以通过设置键 `"syntaxHighlight.theme"` 来设置语法高亮主题(注意中间有一个点):
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  4. docs/ja/docs/how-to/configure-swagger-ui.md

    <img src="/img/tutorial/extending-openapi/image02.png">
    
    しかし、`syntaxHighlight` を `False` に設定すると無効化できます:
    
    {* ../../docs_src/configure_swagger_ui/tutorial001_py310.py hl[3] *}
    
    ...その場合、Swagger UI ではシンタックスハイライトが表示されなくなります:
    
    <img src="/img/tutorial/extending-openapi/image03.png">
    
    ## テーマの変更 { #change-the-theme }
    
    同様に、キー `"syntaxHighlight.theme"`(途中にドットが含まれている点に注意)でシンタックスハイライトのテーマを設定できます:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  5. docs/tr/docs/how-to/configure-swagger-ui.md

    Ancak `syntaxHighlight` değerini `False` yaparak devre dışı bırakabilirsiniz:
    
    {* ../../docs_src/configure_swagger_ui/tutorial001_py310.py hl[3] *}
    
    ...ve ardından Swagger UI artık syntax highlighting'i göstermeyecektir:
    
    <img src="/img/tutorial/extending-openapi/image03.png">
    
    ## Temayı Değiştirin { #change-the-theme }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  6. docs/uk/docs/how-to/configure-swagger-ui.md

    Але ви можете вимкнути її, встановивши `syntaxHighlight` у `False`:
    
    {* ../../docs_src/configure_swagger_ui/tutorial001_py310.py hl[3] *}
    
    ...після цього Swagger UI більше не показуватиме підсвітку синтаксису:
    
    <img src="/img/tutorial/extending-openapi/image03.png">
    
    ## Змініть тему { #change-the-theme }
    
    Так само ви можете задати тему підсвітки синтаксису ключем `"syntaxHighlight.theme"` (зверніть увагу, що посередині є крапка):
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  7. 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:
    
    {* ../../docs_src/configure_swagger_ui/tutorial001_py310.py hl[3] *}
    
    ... und dann zeigt die Swagger-Oberfläche die Syntaxhervorhebung nicht mehr an:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  8. docs/ru/docs/how-to/configure-swagger-ui.md

    Но вы можете отключить её, установив `syntaxHighlight` в `False`:
    
    {* ../../docs_src/configure_swagger_ui/tutorial001_py310.py hl[3] *}
    
    …и после этого Swagger UI больше не будет показывать подсветку синтаксиса:
    
    <img src="/img/tutorial/extending-openapi/image03.png">
    
    ## Изменить тему { #change-the-theme }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  9. 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`:
    
    {* ../../docs_src/configure_swagger_ui/tutorial001_py310.py hl[3] *}
    
    ...e então o Swagger UI não mostrará mais o destaque de sintaxe:
    
    <img src="/img/tutorial/extending-openapi/image03.png">
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  10. docs/es/docs/how-to/configure-swagger-ui.md

    Sin cambiar la configuración, el resaltado de sintaxis está activado por defecto:
    
    <img src="/img/tutorial/extending-openapi/image02.png">
    
    Pero puedes desactivarlo estableciendo `syntaxHighlight` en `False`:
    
    {* ../../docs_src/configure_swagger_ui/tutorial001_py310.py hl[3] *}
    
    ...y entonces Swagger UI ya no mostrará el resaltado de sintaxis:
    
    <img src="/img/tutorial/extending-openapi/image03.png">
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 3.1K bytes
    - Click Count (0)
Back to Top