Awesome Open Source
Awesome Open Source

doocs-md

Markdown

sync status deploy status prettier status users PRs Welcome
github gitee license release

wechat-format lyricat

Markdown Markdown

  • Gitee Pageshttps://doocs.gitee.io/md
  • GitHub Pageshttps://doocs.github.io/md

Chrome Gitee Pages

Markdown

PR Markdown Discussions

  • [x] CSS
  • [x] Markdown
  • [x]
  • [x] Ctrl + F
  • [x]
  • [x]
  • [x]
  • [x]
  • [x]

#
1 -
2 GitHub Repo``Token GitHub token
3 AccessKey ID``AccessKey Secret``Bucket``Region OSS
4 SecretId``SecretKey``Bucket``Region COS
5 AccessKey``SecretKey``Bucket``Domain``Region Kodo
6 MinIO Endpoint``Port``UseSSL``Bucket``AccessKey``SecretKey MinIO
7

select-and-change-color-theme

copy-and-paste

custom

doocs-md-upload-image

  1. #63
  2. #151

const { file, util, okCb, errCb } = CUSTOM_ARG;
const param = new FormData();
param.append("file", file);
util.axios
  .post("http://127.0.0.1:9000/upload", param, {
    headers: { "Content-Type": "multipart/form-data" },
  })
  .then((res) => {
    okCb(res.url);
  })
  .catch((err) => {
    errCb(err);
  });

// :
// CUSTOM_ARG = {
//   content, //  base64
//   file, //  file 
//   util: {
//     axios, // axios 
//     CryptoJS, // 
//     OSS, // ali-oss
//     COS, // cos-js-sdk-v5
//     Buffer, // buffer-from
//     uuidv4, // uuid
//     qiniu, // qiniu-js
//     tokenTools, // 
//     getDir, //  // 
//     getDateFilename, //  +uuid 
//   },
//   okCb: resolve, //  url 
//   errCb: reject, // 
// }

# 
npm i

# 
npm start

#  /md 
npm run build
#  http://127.0.0.1:9000/md

# 
npm run build:h5-netlify
#  http://127.0.0.1:9000/

1. npm cli

npm cli Markdown

# 
npm i -g @doocs/md-cli

# 
md-cli

# 
open http://127.0.0.1:8800/md/

# 
md-cli port=8899

# 
open http://127.0.0.1:8899/md/

md-cli

  • port 8800
  • spaceId dcloud
  • clientSecret dcloud

2. Docker

Docker

docker run -d -p 8080:80 doocs/md:latest

http://localhost:8080

Docker https://awesomeopensource.com/project/doocs/docker-md


Doocs




nodejs npm


01


Gitee


Hub





Beta

ApachePulsar



IT











Dmego


HelloCoder

Markdown README #5

Alternatives To Md
Select To Compare


Alternative Project Comparisons
Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Javascript (1,059,720
Java (388,471
Html (241,554
Css (142,423
Vue (65,978
Editor (32,000
Markdown (28,284
Article (14,076
Github Pages (6,805
Wechat (4,250
Leetcode (3,832
Markdown Editor (895
Doocs (10
Gitee Pages (4