API to expose a list of Markdown files with paging.
2.0K
API to expose a list of Markdown files with paging.
You can use the Swagger UI tool to view the API documentation available at https://raw.githubusercontent.com/flavien-perier/markdown-api/master/openapi.yaml.
To use this application, simply add Markdown files to the documents folder and add a header to them.
Here is an example of file :
---
title: Test
type: ARTICLE
description: Test article
categories:
- dev
author: Flavien PERIER <[email protected]>
date: 2020-09-24 13:06
---
The content of the article
The type of the article can be: ARTICLE, BLOG or DOCUMENTATION. The date is used to sort the articles.
markdown-api:
image: flavienperier/markdown-api
container_name: markdown-api
restart: always
volumes:
- ./documents:/opt/app/documents
ports:
- 8080:8080
environment:
DOMAIN: https://articles.flavien.cc
Content type
Image
Digest
sha256:7419dca9c…
Size
5.4 MB
Last updated
10 months ago
docker pull flavienperier/markdown-api