Easton's Blog Easton's Blog
首页
  • 编程语言

    • Python
  • 框架

    • Django
  • Mdn (opens new window)
  • HTML
  • CSS
  • JavaScript
  • Mysql
  • PostgreSQL
  • Elasticsearch
  • MongoDB
  • Redis
  • 服务器命令
  • Docker
  • GIT
  • 摄影
  • 草稿
  • 归类方式

    • 分类
    • 标签
    • 归档
  • 关于博客

    • 博客教程
    • 友情链接
    • 关于
导航站
GitHub (opens new window)

Easton Yang

爱生活😊爱学习
首页
  • 编程语言

    • Python
  • 框架

    • Django
  • Mdn (opens new window)
  • HTML
  • CSS
  • JavaScript
  • Mysql
  • PostgreSQL
  • Elasticsearch
  • MongoDB
  • Redis
  • 服务器命令
  • Docker
  • GIT
  • 摄影
  • 草稿
  • 归类方式

    • 分类
    • 标签
    • 归档
  • 关于博客

    • 博客教程
    • 友情链接
    • 关于
导航站
GitHub (opens new window)
  • 摄影

  • 草稿

    • 练习
      • 链接
      • GitHub 风格表格
      • Emoji
      • 目录
      • Escaping
      • 部署到 Github Pages
      • 自定义 components
  • 更多
  • 草稿
eastonyangxu
2023-04-27
目录

练习

# 练习页面

# 链接

输入

内部链接:
[快速上手](/zh/guide/start.md)
外部链接:
[GitHub](https://github.com/eastonyangxu/vuepress_template)
1
2
3
4

点击链接:快速上手 GitHub (opens new window)

官方案例

官方文档: [链接](https://v1.vuepress.vuejs.org/zh/guide/markdown.html#%E9%93%BE%E6%8E%A5)

# GitHub 风格表格

输入

| Tables        |      Are      |  Cool |
| ------------- | :-----------: | ----: |
| col 3 is      | right-aligned | $1600 |
| col 2 is      |   centered    |   $12 |
| zebra stripes |   are neat    |    $1 |
1
2
3
4
5

输出

Tables Are Cool
col 3 is right-aligned $1600
col 2 is centered $12
zebra stripes are neat $1

# Emoji

输入

:tada: :100: :orange: :houses: :car: :boy: :clock3: :no_entry_sign:
1

输出
🎉 💯 🍊 🏘 🚗 👦 🕒 🚫

参考列表: [emoji列表](https://github.com/markdown-it/markdown-it-emoji/blob/master/lib/data/full.json)

# 目录

输入

[[toc]]
1

输出(本页的目录)

  • 链接
  • GitHub 风格表格
  • Emoji
  • 目录
  • Escaping
  • 部署到 Github Pages
  • 自定义 components

# Escaping

默认情况下,块级 (block) 的代码块将会被自动包裹在 v-pre 中。如果你想要在内联 (inline) 的代码块或者普通文本中显示原始的大括号,或者一些 Vue 特定的语法,你需要使用自定义容器 v-pre 来包裹:
输入

::: v-pre
`{{ This will be displayed as-is }}`
:::
1
2
3

输出

{{ This will be displayed as-is }}

# 部署到 Github Pages

传送门

GitHub Pages 部署 (opens new window)

# 自定义 components

输入

demo.vue

<style scoped lang="css">
  h1 {
    color: red;
    font-size: 20px;
  }
</style>

<template>
  <h1>这是我第一个自定义的components</h1>
</template>

<script>
  export default {
    name: "demo",
  };
</script>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

使用 componnets:

<demo/>
1

输出

这是我第一个自定义的components

上次更新: 2023/05/12, 16:53:30
ps常用快捷键

← ps常用快捷键

最近更新
01
攻略制作要点
07-18
02
摄影主题拍摄
07-18
03
延时摄影剧本
07-18
更多文章>
Theme by Vdoing | Copyright © 2023-2024 Easton Yang | MIT License
  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式