diff --git a/manim_slides/convert.py b/manim_slides/convert.py index bf51415f..0282b33d 100644 --- a/manim_slides/convert.py +++ b/manim_slides/convert.py @@ -648,14 +648,16 @@ def callback(ctx: Context, param: Parameter, value: bool) -> None: "config_options", multiple=True, callback=validate_config_option, - help="Configuration options passed to the converter. E.g., pass `-cslide_number=true` to display slide numbers.", + help="Configuration options passed to the converter. " + "E.g., pass ``-cslide_number=true`` to display slide numbers.", ) @click.option( "--use-template", "template", metavar="FILE", type=click.Path(exists=True, dir_okay=False, path_type=Path), - help="Use the template given by FILE instead of default one. To echo the default template, use `--show-template`.", + help="Use the template given by FILE instead of default one. " + "To echo the default template, use ``--show-template``.", ) @show_template_option @show_config_options diff --git a/manim_slides/present/__init__.py b/manim_slides/present/__init__.py index cc92b0c6..49f2aa43 100644 --- a/manim_slides/present/__init__.py +++ b/manim_slides/present/__init__.py @@ -122,7 +122,8 @@ def str_to_int_or_none(value: str) -> Optional[int]: return tuple(map(str_to_int_or_none, values_tuple)) raise click.BadParameter( - f"exactly 2 arguments are expected but you gave {n_values}, please use commas to separate them", + f"exactly 2 arguments are expected but you gave {n_values}, " + "please use commas to separate them", ctx=ctx, param=param, )