Skip to content
This repository was archived by the owner on Oct 22, 2023. It is now read-only.
This repository was archived by the owner on Oct 22, 2023. It is now read-only.

MD to YML conversion drops links #22

@baranga

Description

@baranga

Given this CHANGELOG.md:

# changelog
description

## [Unreleased]
### Added
- new [stuff]

[Unreleased]: https//example.com/unreleased
[stuff]: https//example.com/stuff

I get for release-notes convert CHANGELOG.md -t yml this:

title: changelog
description: description
releases:
  - version: Unreleased
    added:
      - 'new [stuff]'

As one can see the links are missing.

The spec says neither defines how to handle links nor which property/tags supports markdown. A possible solution could be to make all descriptive fields markdown in the spec and convert to something like this:

title: changelog
description: description
releases:
  - version: '[Unreleased](https://example.com/unreleased)'
    added:
      - 'new [stuff](https://example.com/stuff)'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions