lxl80 / hexo-admonition

Add block-styled admonition to hexo, e.g. note, warning or error. | Hexo内容辅助插件,支持向文档中添加如提示、警告、错误等块式内容。
MIT License
85 stars 6 forks source link

跟著步驟做但是沒有效果 #1

Open RammusXu opened 4 years ago

RammusXu commented 4 years ago

ENV

{
  "name": "hexo-site",
  "version": "0.0.0",
  "private": true,
  "hexo": {
    "version": "5.0.2"
  },
  "dependencies": {
    "hexo": "^5.0.2",
    "hexo-admonition": "^1.1.2",
    "hexo-deployer-git": "^2.1.0",
    "hexo-generator-archive": "^1.0.0",
    "hexo-generator-category": "^1.0.0",
    "hexo-generator-index": "^2.0.0",
    "hexo-generator-sitemap": "^2.1.0",
    "hexo-generator-tag": "^1.0.0",
    "hexo-renderer-ejs": "^1.0.0",
    "hexo-renderer-marked": "^3.0.0",
    "hexo-renderer-stylus": "^2.0.0",
    "hexo-server": "^2.0.0"
  }
}

Markdown


I found out my certificate is expired this morning and it's not renewed automatically. Here's how I debug it step by step.

!!! warning
If you installed Node.js using Snap, you may need to manually run `npm install` in the target folder when [initializing](/docs/commands#init) a blog.

## Get certificate status
```bash
$ kubectl describe cert -n slack slack-tls

Result

image

lzkids commented 3 years ago

@RammusXu 内容前面需要4个空格好像是。我这边不知道为什么,留了4个空格还是渲染不出来。看渲染出来的内容显示在

的下面。很奇怪,不知道哪里的问题

qz1024 commented 3 years ago

我只安装插件也显示不出来,之后将readme最下面的css代码放到了themes/next/source/css/_custom/custom.styl文件里面就显示出来了

qz1024 commented 3 years ago

@lzkids @RammusXu 我在typora中试成功了 ,有两个注意点:1. 换行得是shift+回车,这样的行间距小,直接回车的行间距大。2.不能是Tab,得是中文四个空格,英文也不行,必须中文。

lzkids commented 3 years ago

@qz1024 感谢

lzkids commented 3 years ago

@qz1024 问一下,4个叹号后面是中文空格还是英文空格?

qz1024 commented 3 years ago

@lzkids 中英文都行(是三个英文叹号)

lzkids commented 3 years ago

@lzkids 中英文都行(是三个英文叹号)

对了,你用的解析md插件是plus吗?

vhkj commented 1 year ago

我这儿的情况是,跟中英文空格没啥关系。。 主要是每一行之间要有个空行, 每行前边需要 4 个空格。

Snipaste_2023-02-27_03-33-35