🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

smarty-press

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smarty-press

English | [简体中文](./README.md) # Smart-Press - Fast and efficient Markdown website making tool - Based on Vue3.0 SSR technology ## Weixin

latest
npmnpm
Version
0.0.12
Version published
Weekly downloads
3
-91.18%
Maintainers
1
Weekly downloads
 
Created
Source

简体中文| English

Smart-Press

  • 快速高效的 Markdown 网站制作工具
  • 基于 Vue3.0 SSR 技术

钉钉交流群

起步

Manually

# install 
npm install smarty-press -g

# start to writing 
spress start

# build to html
spress build

使用

# 在项目文件夹中新建主页文件README.md,其它的md文件会当作它的次级目录,内容的编译使用markdown语法,并且是实时的

# 生成网页的目录数量与md文件的数量相对应,有几个目录就有几个md文件

# 目录的名称是对应文件的一级标题

开发

# clone first
npm link
cd demo
spress start
yarn add vue@3.0.0

插件开发

参阅插件开发文档。

开发功能列表

开发完成

  • 展示DEMO

待开发

  • 菜单自由配置功能

主题库

MarkDown

http://zhongce.sina.com.cn/article/view/18867

菜单模板

  • 默认:采用 AdminLTE
  • 开发中:
    • 菜单自由配置功能

文档

使用

  • Step. 1 新建并进入文件夹
mkdir hello-smarty-press && cd hello-smarty-press
  • Step. 2 使用你喜欢的包管理器进行初始化
yarn init
  • Step. 3 本地安装smarty-press (如果已经全局安装过了,可以跳过这一步)
yarn add --dev smarty-press
  • Step. 4 创建README.md文件
touch README.md
  • Step. 5 写入文档内容
# SmartyPress 入门
## 安装

## 使用
  • Step. 6 在package.json中添加脚本 (如果是全局安装,可以跳过这一步)
{
  "scripts": {
    "start": "spress start",
    "build": "spress build"
  }
}
  • Step. 7 启动本地开发服务
yarn start

如果是全局安装,则使用以下命令

spress start
  • Step. 8 构建文档
yarn build

如果是全局安装,则使用以下命令

spress build

FAQs

Package last updated on 02 Nov 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts