Skip to content

Commit

Permalink
Add experimental-inline-sourcepos to cli options
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalmoksha committed Aug 18, 2024
1 parent 9f4d391 commit 36a39df
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ struct Cli {
#[arg(long)]
sourcepos: bool,

/// Include inline sourcepos in HTML output, which is known to have issues.
#[arg(long)]
experimental_inline_sourcepos: bool,

/// Ignore setext headers
#[arg(long)]
ignore_setext: bool,
Expand Down Expand Up @@ -287,6 +291,7 @@ fn main() -> Result<(), Box<dyn Error>> {
.escape(cli.escape)
.list_style(cli.list_style.into())
.sourcepos(cli.sourcepos)
.experimental_inline_sourcepos(cli.experimental_inline_sourcepos)
.escaped_char_spans(cli.escaped_char_spans)
.ignore_setext(cli.ignore_setext)
.ignore_empty_links(cli.ignore_empty_links)
Expand Down

0 comments on commit 36a39df

Please sign in to comment.