-
-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
why first -
not displayed in title element?
#140
Comments
I did a test with marked.
# --one
one
## --two
two
### --three
three
#### --backup-dir=DIR
four
<h1 id="--one">--one</h1>
<p>one</p>
<h2 id="--two">--two</h2>
<p>two</p>
<h3 id="--three">--three</h3>
<p>three</p>
<h4 id="--backup-dirdir">--backup-dir=DIR</h4>
<p>four</p> This looks okay. So the next step is to look at where we might be touching the output. @practicemp You didn't fill out the issue template so I assumed you are using hexo-renderer-marked. If you are using a different markdown renderer you can let me know. |
@tcrowe $ npm ls --depth 0
hexo-site@0.0.0 /Users/practicemp/blog
├── hexo@3.8.0
├── hexo-deployer-rsync@0.1.3
├── hexo-generator-archive@0.1.5
├── hexo-generator-category@0.1.3
├── hexo-generator-index@0.2.1
├── hexo-generator-sitemap@1.2.0
├── hexo-generator-tag@0.2.0
├── hexo-renderer-ejs@0.3.1
├── hexo-renderer-jade@0.4.1
├── hexo-renderer-marked@0.3.2
├── hexo-renderer-sass@0.3.2
├── hexo-renderer-stylus@0.3.3
└── hexo-server@0.3.3 The part of the renderer referenced in my theme file ( .post-content
!= page.content |
@practicemp Thanks. I will take another look tomorrow morning and see where we are changing the headings. |
Are you using the |
@tcrowe .toc
!= toc(page.content,{list_number: false}) |
In markdown file:
#### --backup-dir=DIR
hexo server
output:The first
-
not displayed in theh4
elementid
& content, also tohref
andtitle
of thea
element .Then I try this:
#### \--backup-dir=DIR
hexo server
output:The first and second
-
not displayed in theh4
elementid
, also tohref
of thea
element .What should i do ?
The text was updated successfully, but these errors were encountered: