Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 153 for markdown (0.16 seconds)

  1. android/guava/src/com/google/common/net/MediaType.java

      /**
       * As described in <a href="https://www.rfc-editor.org/rfc/rfc7763.html">RFC 7763</a>, this
       * constant ({@code text/markdown}) is used for Markdown documents.
       *
       * @since 33.3.0
       */
      public static final MediaType MD_UTF_8 = createConstantUtf8(TEXT_TYPE, "markdown");
    
      public static final MediaType PLAIN_TEXT_UTF_8 = createConstantUtf8(TEXT_TYPE, "plain");
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 02 01:46:40 GMT 2025
    - 48K bytes
    - Click Count (0)
  2. README.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>Or use <code>async def</code>...</summary>
    
    If your code uses `async` / `await`, use `async def`:
    
    ```Python hl_lines="7  12"
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 24.3K bytes
    - Click Count (0)
  3. docs/zh-hant/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()
    
    
    @app.get("/")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 20.8K bytes
    - Click Count (0)
  4. 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)
  5. 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)
  6. 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)
  7. docs/zh/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:06:37 GMT 2026
    - 8.5K bytes
    - Click Count (0)
  8. 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)
  9. 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)
  10. 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)
Back to Top