Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 130 for markdown (0.06 seconds)

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

  1. fastapi/applications.py

                    """
                ),
            ] = None,
            description: Annotated[
                str,
                Doc(
                    '''
                    A description of the API. Supports Markdown (using
                    [CommonMark syntax](https://commonmark.org/)).
    
                    It will be added to the generated OpenAPI (e.g. visible at `/docs`).
    
                    Read more in the
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:16:24 GMT 2026
    - 178.6K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/tutorial/schema-extra-example.md

    * `Header()`
    * `Cookie()`
    * `Body()`
    * `Form()`
    * `File()`
    
    該 `dict` 的鍵用來識別各個範例,而每個值則是另一個 `dict`。
    
    在 `examples` 中,每個範例的 `dict` 可以包含:
    
    * `summary`:範例的簡短描述。
    * `description`:較長的描述,可包含 Markdown 文字。
    * `value`:實際顯示的範例,例如一個 `dict`。
    * `externalValue`:`value` 的替代方案,為指向範例的 URL。儘管這可能不如 `value` 被工具廣泛支援。
    
    你可以這樣使用:
    
    {* ../../docs_src/schema_extra_example/tutorial005_an_py310.py hl[23:49] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  3. docs/zh/docs/index.md

    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: str | None = None):
        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    <summary>或者使用 <code>async def</code>...</summary>
    
    如果你的代码里会用到 `async` / `await`,请使用 `async def`:
    
    ```Python hl_lines="7  12"
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 20.7K bytes
    - Click Count (0)
  4. scripts/translate.py

        print(f"Saving translation to {out_path}")
        out_path.write_text(out_content, encoding="utf-8", newline="\n")
    
    
    def iter_all_en_paths() -> Iterable[Path]:
        """
        Iterate on the markdown files to translate in order of priority.
        """
        first_dirs = [
            Path("docs/en/docs/learn"),
            Path("docs/en/docs/tutorial"),
            Path("docs/en/docs/advanced"),
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:37:41 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  5. fastapi/routing.py

                    If not provided, it will be extracted automatically from the docstring
                    of the *path operation function*.
    
                    It can contain Markdown.
    
                    It will be added to the generated OpenAPI (e.g. visible at `/docs`).
    
                    Read more about it in the
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 193K bytes
    - Click Count (0)
  6. docs/ja/docs/index.md

    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: str | None = None):
        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    <summary>または <code>async def</code> を使います...</summary>
    
    コードで `async` / `await` を使用する場合は、`async def` を使います。
    
    ```Python hl_lines="7  12"
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  7. docs/ja/docs/tutorial/schema-extra-example.md

    * `Query()`
    * `Header()`
    * `Cookie()`
    * `Body()`
    * `Form()`
    * `File()`
    
    `dict`のキーは各例を識別し、各値は別の`dict`です。
    
    `examples`内の各特定の例`dict`には、次の内容を含められます:
    
    * `summary`: 例の短い説明。
    * `description`: Markdownテキストを含められる長い説明。
    * `value`: 実際に表示される例(例: `dict`)。
    * `externalValue`: `value`の代替で、例を指すURLです。ただし、`value`ほど多くのツールでサポートされていない可能性があります。
    
    次のように使えます:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  8. src/main/webapp/js/chat.js

        }
    
        /**
         * Scroll chat to bottom
         */
        function scrollToBottom() {
            elements.chatMessages.scrollTop(elements.chatMessages[0].scrollHeight);
        }
    
        /**
         * Render Markdown text to sanitized HTML.
         * Policy is aligned with server-side MarkdownRenderer (OWASP sanitizer).
         */
        var markdownDomPurifyInitialized = false;
        var markdownSanitizeConfig = {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 01:36:02 GMT 2026
    - 30.6K bytes
    - Click Count (0)
  9. CONTRIBUTING.md

    This information is used to generate documentation for each Gradle version
    on [docs.gradle.org](https://docs.gradle.org/).
    The documentation is mostly implemented in Asciidoc
    though we use GitHub-flavored Markdown for internal documentation too.
    
    You can generate docs by running `./gradlew :docs:docs`.
    This will build the whole documentation locally in [platforms/documentation](./platforms/documentation).
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 27 18:43:39 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  10. docs/tr/docs/tutorial/metadata.md

    |------------|------|-------------|
    | `title` | `str` | API'nin başlığı. |
    | `summary` | `str` | API'nin kısa özeti. <small>OpenAPI 3.1.0, FastAPI 0.99.0 sürümünden itibaren mevcut.</small> |
    | `description` | `str` | API'nin kısa açıklaması. Markdown kullanabilir. |
    | `version` | `string` | API'nin sürümü. Bu, OpenAPI'nin değil, kendi uygulamanızın sürümüdür. Örneğin `2.5.0`. |
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 6.2K bytes
    - Click Count (0)
Back to Top