Skip to content

Some values in generated Markdown get double backticks #304

Closed
@danielparks

Description

@danielparks

Describe the Bug

Some values in generated Markdown are wrapped with double backticks instead of single.

As far as I can tell this doesn’t affect the HTML rendering on GitHub or Forge.

Expected Behavior

All values should be wrapped with single backticks.

Steps to Reproduce

Steps to reproduce the behavior:

❯ cat test.pp     
class test ( $param = true ) {}
❯ puppet strings generate --format markdown test.pp &>/dev/null ; grep '^Default value' REFERENCE.md
Default value: ``true``

Environment

  • ruby 3.1.2p20
  • macOS 12.6.0
  • Current main branch (dba16ed)

I’ll submit a PR for this shortly.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions