Skip to content

Commit

Permalink
docs(app): more usecase, style enhance
Browse files Browse the repository at this point in the history
  • Loading branch information
LincZero committed Feb 24, 2025
1 parent a6a8efe commit 28c8d1a
Show file tree
Hide file tree
Showing 2 changed files with 145 additions and 4 deletions.
4 changes: 4 additions & 0 deletions src/App/src/components/MarkdownViewer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ onMounted(()=>{
padding: 10px 20px 500px;
overflow: auto;
>div.ab-note { // ob和vuepress版本外面有一层,但这里没有,要给间距
margin: 26px 0;
}
}
</style>

Expand Down
145 changes: 141 additions & 4 deletions src/App/src/utils/preset_map.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,148 @@ export const preset_map = {
this is ~~a~~ **MarkDown** *test*
[list2table]
- 1
- 2
- 3
- 2
- 4 | <
- 5
- 6
- 7
[list2lt]
- < Company name<br>公司名| Superior section<br>上级部门| Principal<br>负责人| Phone<br>电话
- ==ABC head office==| | |
- **Shanghai branch**| ==ABC head office== | ZhangSan| 13&xxxxxxxx
- Marketing section| **Shanghai branch** | LiSi|
|self |father |mother |
|--------|--------|--------|
|201xxxxx|202xxxxx|203xxxxx|
- Marketing Division 1| | |
- Marketing Division 2| | |
- Sales section| **Shanghai branch** | WangWu| 15&xxxxxxxx
- *Beijing branch*| ==ABC head office== | ChenLiu| 16&xxxxxxxx
- Technical division| *Beijing branch* | OuYang| 17&xxxxxxxx
- Finance| *Beijing branch* | HuangPu| 18&xxxxxxxx
[nodes]
- a
a2
- b
- c
- d
- b
- c
- d
- e
- f
[mindmap]
- a
- b
- c
- d
- e
- f
[markmap]
- a
- b
- c
- d
- e
- f
[list2dt]
- vue-demo/
- build/, 项目构建(webpack)相关代码
- config/, 配置目录,包括端口号等。我们初学可以使用默认的
- node_modules/, npm 加载的项目依赖模块
- src/, 这里是我们要开发的目录
- assets/, 放置一些图片,如logo等
- components, 目录里面放了一个组件文件,可以不用
- App.vue, 项目入口文件,我们也可以直接将组件写这里,而不使用 components 目录
- main.js, 项目的核心文件。
- static/, 静态资源目录,如图片、字体等
- test/, 初始测试目录,可删除
- .eslintignore
- .gitignore, git配置
- .index.html, 首页入口文件,你可以添加一些 meta 信息或统计代码啥的
- package.json, 项目配置文件
- READED.md, 项目的说明文档,markdown 格式<br>手动换行测试<br>自动换行测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试k
- ...
[list2astreeH|code()]
- vue-demo/
- build/
- config/
- src/
- assets/
- a/
- b
- components
- .babelrc
- .editorconfig
- ...
[list2pumlWBS]
- vue-demo/
- build/
- config/
- node_modules/
- src/
- < assets/
- < a
- b
- < c
- d
- e
- components
- App.vue
- main.js
- static/
- test/
(app版本暂不支持点击)
[list2tab]
- linux
- 可以通过执行以下命令在终端中使用 apt 包安装程序:
\`\`\`shell
apt-get install python3.6
\`\`\`
- windows
- 转到官方 Python 站点,并导航到最新版本。在撰写本文时,即 \`3.10.6\`。
- 下载适用于您平台的二进制文件。执行二进制。
- 除了将 Python 添加到 \`PATH\` 之外,您不需要选择任何选项,因为默认安装程序具有您需要的一切。只需单击“安装”即可。
- macOS
- 转到官方 Python 站点,并导航到最新版本。在撰写本文时,即 \`3.10.6\`。
- 下载适用于您平台的二进制文件。执行二进制。
- 在 Mac 上,这将默认在 dmg 安装程序中完成。
[list2card|addClass(ab-col3)]
- card1
card1_item<br>$1+1=2$
- card2
card2_item
\`\`\`js
var a = 1
\`\`\`
- card3
card3_item
**Bold** *italics* ==highlight== ~~delete~~
- list1
- list2
- list3
`,
//
'list2table (列表转多叉表格)': `\
Expand Down

0 comments on commit 28c8d1a

Please sign in to comment.