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

MD to YML conversion drops links #22

Open
baranga opened this issue Jun 25, 2019 · 0 comments
Open

MD to YML conversion drops links #22

baranga opened this issue Jun 25, 2019 · 0 comments

Comments

@baranga
Copy link

baranga commented Jun 25, 2019

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)'
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant