An open API service indexing awesome lists of open source software.

https://github.com/hstsethi/structured-list-md

Guidelines, scripts for authoring structured, machine readable lists in plain Markdown by leveraging HTML.
https://github.com/hstsethi/structured-list-md

html html5 json list machine-readable markdown markup open-format spec specification structured-data

Last synced: 3 months ago
JSON representation

Guidelines, scripts for authoring structured, machine readable lists in plain Markdown by leveraging HTML.

Awesome Lists containing this project

README

        

# structured-list-md

Guidelines, scripts for authoring structured, machine readable lists in plain Markdown by leveraging HTML.

## Guidelines

- The input must be valid markdown.

- The list can be either ordered(numbered) or unordered(bulleted).

- Description is not necessary, but if it's there, it should be preceded and followed by a new line.

- There should not be any newline between items that do not have descriptions, else the markdown parsers will introduce additional `p` tag after `li`.

## Conversions

- li -> dt

- p -> dd

- ul/ol -> dl

## Input Markdown Item List

```md
- Item 1

Description of item 1.

- Item 2
- Item 3
```

## Intermediate HTML Item List

```html


  • Item 1


Description of item 1.



  • Item 2

  • Item 3


```

## Final HTML Definition List

```html


Item 1


Description of item 1.


Item 2

Item 3


```