From 39fbf0cc77c791aa99eb3713b5b5529dc3ee2aad Mon Sep 17 00:00:00 2001 From: kdeldycke <159718+kdeldycke@users.noreply.github.com> Date: Sun, 3 Nov 2024 13:44:10 +0000 Subject: [PATCH] [autofix] Format Markdown --- docs/commands.md | 18 +++++++++--------- docs/config.md | 2 +- docs/parameters.md | 2 +- docs/pygments.md | 2 -- 4 files changed, 11 insertions(+), 13 deletions(-) diff --git a/docs/commands.md b/docs/commands.md index b3920f7a3..1fc1df3a5 100644 --- a/docs/commands.md +++ b/docs/commands.md @@ -88,15 +88,15 @@ You can inspect the implementation details by looking at: Now if you want to benefit from all the [wonderful features of Click Extra](index.md#features), you have to use the `extra`-prefixed variants: | [Original](https://click.palletsprojects.com/en/stable/api/) | Extra variant | -| ----------------------------------------------------------- | ----------------------------------- | -| `@click.command` | `@click_extra.extra_command` | -| `@click.group` | `@click_extra.extra_group` | -| `click.Command` | `click_extra.ExtraCommand` | -| `click.Group` | `click_extra.ExtraGroup` | -| `click.Context` | `click_extra.ExtraContext` | -| `click.Option` | `click_extra.ExtraOption` | -| `@click.version_option` | `@click_extra.extra_version_option` | -| `click.testing.CliRunner` | `click_extra.ExtraCliRunner` | +| ------------------------------------------------------------ | ----------------------------------- | +| `@click.command` | `@click_extra.extra_command` | +| `@click.group` | `@click_extra.extra_group` | +| `click.Command` | `click_extra.ExtraCommand` | +| `click.Group` | `click_extra.ExtraGroup` | +| `click.Context` | `click_extra.ExtraContext` | +| `click.Option` | `click_extra.ExtraOption` | +| `@click.version_option` | `@click_extra.extra_version_option` | +| `click.testing.CliRunner` | `click_extra.ExtraCliRunner` | You can see how to use some of these `extra` variants in the [tutorial](tutorial.md). diff --git a/docs/config.md b/docs/config.md index da055d724..323ca0577 100644 --- a/docs/config.md +++ b/docs/config.md @@ -60,7 +60,7 @@ top_level_param = "is_ignored" [my-cli] extra_value = "is ignored too" -dummy_flag = true # New boolean default. +dummy_flag = true # New boolean default. my_list = ["item 1", "item #2", "Very Last Item!"] [garbage] diff --git a/docs/parameters.md b/docs/parameters.md index 1740106ed..82250cb4f 100644 --- a/docs/parameters.md +++ b/docs/parameters.md @@ -53,7 +53,7 @@ Now if we feed the following `~/configuration.toml` configuration file: [my-cli] verbosity = "DEBUG" dummy_flag = true -my_list = [ "item 1", "item #2", "Very Last Item!",] +my_list = ["item 1", "item #2", "Very Last Item!"] [my-cli.subcommand] int_param = 3 diff --git a/docs/pygments.md b/docs/pygments.md index af0dafa06..2b89649e6 100644 --- a/docs/pygments.md +++ b/docs/pygments.md @@ -123,7 +123,6 @@ The code above prints the following HTML: … - ``` And here is how to obtain the corresponding CSS style: @@ -364,7 +363,6 @@ Licensed under the BSD license, see LICENSE for details. - ``` ## `click_extra.pygments` API