@abstractmark/abstractmark 中文文档教程

发布于 4年前 浏览 21 项目主页 更新于 3年前

Javascript implementation of AbstractMark.

有关 Abstractmark 的更多信息,请访问此存储库

AbstractMark CLI

  • 要求:

    • npm installed with its path registered on your system path. (You may ignore this if you installed npm in the proper way)
  • 安装 输入 npm install @abstractmark/abstractmark -g。 为确保它安装正确,请键入 abstractmark --help,它应该显示 abstractmark CLI 用法,如果没有,请打开一个问题。

  • 用法:

    • For Converting Abstractmark file: run abstractmark [abstractmark file] [abstractmark options] [args]
    • For Converting Abstractmark files inside a folder: run abstractmark [folder] [abstractmark options args]
    • For Abstractmark's Information : run abstractmark [option]
    • For more information about AbstractMark CLI, please type abstractmark --help on your terminal.

Import AbstractMark

  • 安装

    在命令行中键入 npm install @abstractmark/abstractmark

  • 用法:

    • import {AbstractMark} from "@abstractmark/abstractmark" to import AbstractMark
    • Pass your text to convert into AbstractMark function with your options, example: AbstractMark("# Hello World {#Hi} {color:red}", {styled: true})
  • 可用选项:

    • styled, convert your text into html tags with default styled
    • fullHTMLTags, convert your text into full structured html tags.

Setup (development)

  • Clone this repository by typing git clone https://github.com/abstractmark/javascript.git abstractmark and get into it by typing cd abstractmark
  • To start setting up abstractmark CLI, type npm i -g to install it globally. To make sure abstractmark CLI is installed, type abstractmark --help. For more information about CLI is also written there.

Code of Conduct

有关行为准则,请访问 CODEOFCONDUCT.md

Contributing Guidelines

感谢您有兴趣为 AbstractMark 做贡献! 请花点时间查看此文档

License

AbstractMark 是根据MIT 许可证 分发的

Javascript implementation of AbstractMark.

For more information about Abstractmark, please visit this repository.

AbstractMark CLI

  • Requirement:

    • npm installed with its path registered on your system path. (You may ignore this if you installed npm in the proper way)
  • Installation Type npm install @abstractmark/abstractmark -g. To make sure it's installed properly, please type abstractmark --help, it should shows abstractmark CLI usage, if it doesn't, please open an issue.

  • Usage:

    • For Converting Abstractmark file: run abstractmark [abstractmark file] [abstractmark options] [args]
    • For Converting Abstractmark files inside a folder: run abstractmark [folder] [abstractmark options args]
    • For Abstractmark's Information : run abstractmark [option]
    • For more information about AbstractMark CLI, please type abstractmark --help on your terminal.

Import AbstractMark

  • Installation

    Type npm install @abstractmark/abstractmark on your command line.

  • Usage:

    • import {AbstractMark} from "@abstractmark/abstractmark" to import AbstractMark
    • Pass your text to convert into AbstractMark function with your options, example: AbstractMark("# Hello World {#Hi} {color:red}", {styled: true})
  • Available options:

    • styled, convert your text into html tags with default styled
    • fullHTMLTags, convert your text into full structured html tags.

Setup (development)

  • Clone this repository by typing git clone https://github.com/abstractmark/javascript.git abstractmark and get into it by typing cd abstractmark
  • To start setting up abstractmark CLI, type npm i -g to install it globally. To make sure abstractmark CLI is installed, type abstractmark --help. For more information about CLI is also written there.

Code of Conduct

For the Code of Conduct, please visit CODEOFCONDUCT.md

Contributing Guidelines

Thanks for your interest in contributing to AbstractMark! Please take a moment to review this document

License

AbstractMark is distributed under MIT License

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文