Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 153 for markdown (0.74 seconds)

  1. samples/guide/src/main/java/okhttp3/recipes/PostStreaming.java

    import okhttp3.Request;
    import okhttp3.RequestBody;
    import okhttp3.Response;
    import okio.BufferedSink;
    
    public final class PostStreaming {
      public static final MediaType MEDIA_TYPE_MARKDOWN
          = MediaType.get("text/x-markdown; charset=utf-8");
    
      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        RequestBody requestBody = new RequestBody() {
          @Override public MediaType contentType() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Jul 06 03:18:15 GMT 2018
    - 2.1K bytes
    - Click Count (0)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/PostString.kt

            url = "https://api.github.com/markdown/raw".toHttpUrl(),
            body = postBody.toRequestBody(MEDIA_TYPE_MARKDOWN),
          )
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
          println(response.body.string())
        }
      }
    
      companion object {
        val MEDIA_TYPE_MARKDOWN = "text/x-markdown; charset=utf-8".toMediaType()
      }
    }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  3. scripts/general-llm-prompt.md

    ### Your task
    
    Translate an English original content to a target language.
    
    The original content is written in Markdown, write the translation in Markdown as well.
    
    The original content will be surrounded by triple percentage signs (%%%). Do not include the triple percentage signs in the translation.
    
    ### Technical terms in English
    
    For technical terms in English that don't have a common translation term, use the original term in English.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Mar 18 10:55:36 GMT 2026
    - 14.6K bytes
    - Click Count (0)
  4. samples/guide/src/main/java/okhttp3/recipes/PostString.java

    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.RequestBody;
    import okhttp3.Response;
    
    public final class PostString {
      public static final MediaType MEDIA_TYPE_MARKDOWN
          = MediaType.get("text/x-markdown; charset=utf-8");
    
      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        String postBody = ""
            + "Releases\n"
            + "--------\n"
            + "\n"
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat May 25 18:02:55 GMT 2019
    - 1.7K bytes
    - Click Count (0)
  5. docs/zh-hant/docs/tutorial/metadata.md

    * `description`:一個 `str`,為該標籤的簡短描述。可使用 Markdown,並會顯示在文件介面中。
    * `externalDocs`:一個 `dict`,描述外部文件,包含:
        * `description`:一個 `str`,外部文件的簡短描述。
        * `url`(**必填**):一個 `str`,外部文件的 URL。
    
    ### 建立標籤的中繼資料 { #create-metadata-for-tags }
    
    我們用 `users` 與 `items` 兩個標籤來示範。
    
    先為你的標籤建立中繼資料,然後將它傳給 `openapi_tags` 參數:
    
    {* ../../docs_src/metadata/tutorial004_py310.py hl[3:16,18] *}
    
    注意你可以在描述中使用 Markdown,例如「login」會以粗體(**login**)顯示,而「fancy」會以斜體(_fancy_)顯示。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  6. docs/recipes.md

            }
          }
        ```
    
    ### Posting a String ([.kt][PostStringKotlin], [.java][PostStringJava])
    
    Use an HTTP POST to send a request body to a service. This example posts a markdown document to a web service that renders markdown as HTML. Because the entire request body is in memory simultaneously, avoid posting large (greater than 1 MiB) documents using this API.
    
    === ":material-language-kotlin: Kotlin"
        ```kotlin
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 47.8K bytes
    - Click Count (0)
  7. scripts/doc_parsing_utils.py

            modified_text[line_no] = f"{hashes} {title}{permalink}"
    
        return modified_text
    
    
    # Markdown links
    # --------------------------------------------------------------------------------------
    
    
    def extract_markdown_links(lines: list[str]) -> list[MarkdownLinkInfo]:
        """
        Extract all markdown links from the given lines.
    
        Return list of MarkdownLinkInfo, where each dict contains:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:37:41 GMT 2026
    - 23.5K bytes
    - Click Count (0)
  8. docs/zh/docs/tutorial/metadata.md

    - `description`:一个 `str`,该标签的简短描述。可以使用 Markdown,并会显示在文档 UI 中。
    - `externalDocs`:一个 `dict`,描述外部文档,包含:
        - `description`:一个 `str`,该外部文档的简短描述。
        - `url`(必填):一个 `str`,该外部文档的 URL。
    
    ### 创建标签元数据 { #create-metadata-for-tags }
    
    让我们在带有标签的示例中为 `users` 和 `items` 试一下。
    
    创建标签元数据并把它传递给 `openapi_tags` 参数:
    
    {* ../../docs_src/metadata/tutorial004_py310.py hl[3:16,18] *}
    
    注意你可以在描述内使用 Markdown,例如「login」会显示为粗体(**login**)以及「fancy」会显示为斜体(_fancy_)。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  9. .github/ISSUE_TEMPLATE/feature_addition_request.yaml

    name: Feature Addition Request
    description: I want to add a new feature
    labels: ["type=addition"]
    body:
      - type: markdown
        attributes:
          value: >
            Filing feature requests is one of the most popular ways to contribute to Guava.
    
    
            Be aware, though: most feature requests are not accepted, even if they're suggested by
            a full-time Guava team member. [Feedback](https://stackoverflow.com/a/4543114) from our
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 5.8K bytes
    - Click Count (0)
  10. .github/ISSUE_TEMPLATE/10-proposal.yml

    name: Proposals
    description: New external API or other notable changes
    title: "proposal: import/path: proposal title"
    labels: ["Proposal"]
    body:
      - type: markdown
        attributes:
          value: "Our proposal process is documented here: https://go.dev/s/proposal-process"
      - type: textarea
        id: proposal-details
        attributes:
          label: "Proposal Details"
          description: "Please provide the details of your proposal here."
        validations:
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Nov 22 20:49:24 GMT 2023
    - 471 bytes
    - Click Count (0)
Back to Top