代码拉取完成,页面将自动刷新
Clone the repository:
git clone https://github.com/marktext/marktext.git
Before you can get started developing, you need set up your build environment:
>=v14
and yarn>=v3.6
for node-gypAdditional development dependencies on Linux:
On Debian-based Linux: sudo apt-get install libx11-dev libxkbfile-dev libsecret-1-dev libfontconfig-dev
On Red Hat-based Linux: sudo dnf install libx11-devel libxkbfile-devel libsecret-devel fontconfig-devel
Additional development dependencies on Windows:
marktext
folderyarn install
or yarn install --frozen-lockfile
yarn run build
build
folderCopy the build app to applications folder, or if on Windows run the executable installer.
$ yarn run <script> # or npm run <script>
Script | Description |
---|---|
build |
Build Mark Text binaries and packages for your OS |
build:bin |
Build Mark Text binary for your OS |
dev |
Build and run Mark Text in developer mode |
lint |
Lint code style |
test / unit
|
Run unit tests |
For more scripts please see package.json
.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。