Comments (5)
I didn't find hexo-renderer-marked
, hexo-renderer-markdown-it
, hexo-renderer-pandoc
in your package.json
. Maybe you are using another markdown renderer, then the problem is probably caused by your markdown renderer. This is not a problem with hexo
from hexo.
Generate as normal
23:01:45 D:\...\hexo-blog [butterfly ≡ +0 ~5 -0 !] 1ms pwsh> yarn hexo generate
INFO Validating config
INFO
===================================================================
##### # # ##### ##### ###### ##### ###### # # #
# # # # # # # # # # # # #
##### # # # # ##### # # ##### # #
# # # # # # # ##### # # #
# # # # # # # # # # # #
##### #### # # ###### # # # ###### #
4.13.0
===================================================================
INFO Start processing
INFO Files loaded in 2.42 s
INFO Generated: sitemap.txt
INFO Generated: link/index.html
INFO Generated: categories/index.html
INFO Generated: sitemap.xml
INFO Generated: tags/index.html
INFO Generated: atom.xml
INFO Generated: search.xml
INFO Generated: 404.html
INFO Generated: categories/技术杂谈/index.html
INFO Generated: archives/index.html
INFO Generated: archives/2024/05/index.html
INFO Generated: categories/机器学习/index.html
INFO Generated: tags/git/index.html
INFO Generated: tags/python/index.html
INFO Generated: archives/2024/index.html
INFO Generated: tags/pyinstaller/index.html
INFO Generated: tags/nodejs/index.html
INFO Generated: tags/numpy/index.html
INFO Generated: tags/vscode/index.html
INFO Generated: tags/pillow/index.html
INFO Generated: tags/jupyter/index.html
INFO Generated: tags/docker/index.html
INFO Generated: tags/selenium/index.html
INFO Generated: tags/函数式编程/index.html
INFO Generated: tags/dev-containers/index.html
INFO Generated: img/404.jpg
INFO Generated: img/favicon.png
INFO Generated: index.html
INFO Generated: img/friend_404.gif
INFO Generated: js/main.js
INFO Generated: js/search/algolia.js
INFO Generated: css/index.css
INFO Generated: skill/git/sparse-checkout/image-20221230121918038.png
INFO Generated: skill/vscode/devcontainers/image-20221013230313100.png
INFO Generated: skill/python/fp/lambda-expressions/index.html
INFO Generated: archives/2024/page/2/index.html
INFO Generated: skill/python/tencent-exmail-with-selenium/image-20221111140026943.png
INFO Generated: archives/2024/05/page/2/index.html
INFO Generated: categories/机器学习/page/2/index.html
INFO Generated: tags/python/page/2/index.html
INFO Generated: categories/技术杂谈/page/3/index.html
INFO Generated: tags/函数式编程/page/2/index.html
INFO Generated: page/3/index.html
INFO Generated: css/var.css
INFO Generated: archives/page/2/index.html
INFO Generated: skill/git/sparse-checkout/image-20221230195235858.png
INFO Generated: js/tw_cn.js
INFO Generated: skill/git/sparse-checkout/image-20221230195905131.png
INFO Generated: skill/python/tencent-exmail-with-selenium/image-20221111235915025.png
INFO Generated: js/utils.js
INFO Generated: skill/python/fp/recursive/index.html
INFO Generated: skill/git/sparse-checkout/image-20221230200544195.png
INFO Generated: skill/git/sparse-checkout/image-20221230201457972.png
INFO Generated: skill/git/sparse-checkout/image-20221230195559943.png
INFO Generated: skill/python/fp/purity-first-class-entity-invariance/index.html
INFO Generated: archives/page/4/index.html
INFO Generated: archives/page/3/index.html
INFO Generated: archives/2024/page/5/index.html
INFO Generated: archives/page/6/index.html
INFO Generated: archives/2024/page/4/index.html
INFO Generated: archives/page/7/index.html
INFO Generated: archives/2024/page/6/index.html
INFO Generated: archives/2024/page/3/index.html
INFO Generated: archives/page/5/index.html
INFO Generated: archives/2024/page/7/index.html
INFO Generated: archives/2024/05/page/3/index.html
INFO Generated: archives/2024/05/page/4/index.html
INFO Generated: categories/技术杂谈/page/2/index.html
INFO Generated: archives/2024/05/page/5/index.html
INFO Generated: categories/机器学习/page/3/index.html
INFO Generated: archives/2024/05/page/7/index.html
INFO Generated: page/2/index.html
INFO Generated: page/4/index.html
INFO Generated: archives/2024/05/page/6/index.html
INFO Generated: tags/python/page/3/index.html
INFO Generated: page/6/index.html
INFO Generated: categories/机器学习/page/4/index.html
INFO Generated: page/7/index.html
INFO Generated: skill/git/sparse-checkout/index.html
INFO Generated: page/5/index.html
INFO Generated: skill/python/fp/lazy-eval/index.html
INFO Generated: skill/vscode/devcontainers/image-20221013231007517.png
INFO Generated: skill/python/fake-boolean/image-20221011001516306.png
INFO Generated: ml/lanqiao/examine-5/Examine-5-01.png
INFO Generated: skill/vscode/devcontainers/image-20221013230433745.png
INFO Generated: skill/vscode/devcontainers/image-20221013231053159.png
INFO Generated: skill/python/tencent-exmail-with-selenium/image-20221112001247635.png
INFO Generated: skill/python/bundle-spider-to-one-executable/index.html
INFO Generated: skill/python/nine-numbers/index.html
INFO Generated: skill/python/fp/op-as-func-partial-func-currying/index.html
INFO Generated: skill/python/fp/tools-in-list-processing/index.html
INFO Generated: skill/python/jupyter-notebook-switch-default-shell/index.html
INFO Generated: skill/python/debugging-with-pdb/index.html
INFO Generated: skill/vscode/devcontainers/image-20221013215032338.png
INFO Generated: skill/python/fp/high-level-functions-and-decorators/index.html
INFO Generated: skill/git/sparse-checkout/image-20221230201133024.png
INFO Generated: skill/vscode/devcontainers/image-20221013214848468.png
INFO Generated: skill/vscode/devcontainers/image-20221013225549826.png
INFO Generated: skill/python/tencent-exmail-with-selenium/image-20221111134019073.png
INFO Generated: ml/lanqiao/challenge-8/index.html
INFO Generated: skill/python/fake-boolean/index.html
INFO Generated: skill/vscode/devcontainers/index.html
INFO Generated: skill/python/tencent-exmail-with-selenium/index.html
INFO Generated: ml/lanqiao/challenge-9/index.html
INFO Generated: js/search/local-search.js
INFO Generated: ml/lanqiao/challenge-7/index.html
INFO Generated: ml/lanqiao/examine-8/index.html
INFO Generated: ml/lanqiao/examine-9/index.html
INFO Generated: ml/lanqiao/challenge-6/index.html
INFO Generated: ml/lanqiao/challenge-5/index.html
INFO Generated: ml/lanqiao/examine-6/index.html
INFO Generated: ml/lanqiao/examine-3/index.html
INFO Generated: ml/lanqiao/examine-4/index.html
INFO Generated: ml/lanqiao/examine-7/index.html
INFO Generated: ml/lanqiao/challenge-2/index.html
INFO Generated: ml/lanqiao/examine-1/index.html
INFO Generated: ml/lanqiao/challenge-3/index.html
INFO Generated: ml/lanqiao/challenge-1/index.html
INFO Generated: ml/lanqiao/examine-2/index.html
INFO Generated: ml/lanqiao/challenge-4/index.html
INFO Generated: skill/vscode/devcontainers/image-20221013213504407.png
INFO Generated: skill/python/tencent-exmail-with-selenium/image-20221111140614228.png
INFO Generated: ml/lanqiao/examine-9/uid214893-20190505-1557033552596.png
INFO Generated: ml/lanqiao/challenge-7/Challenge-7-01.png
INFO Generated: ml/lanqiao/examine-5/index.html
INFO Generated: ml/lanqiao/examine-9/uid214893-20190505-1557033587970.png
INFO Generated: ml/lanqiao/examine-9/uid214893-20190505-1557033583749.png
INFO Generated: skill/python/tencent-exmail-with-selenium/image-20221111224514196.png
INFO Generated: ml/lanqiao/examine-9/uid214893-20190505-1557033590996.png
INFO Generated: ml/lanqiao/examine-9/uid214893-20190505-1557033673417.png
INFO Generated: images/index-title.jpg
INFO Generated: skill/vscode/devcontainers/image-20221013230753903.png
INFO Generated: skill/python/tencent-exmail-with-selenium/image-20221111134557473.png
INFO Generated: skill/python/tencent-exmail-with-selenium/image-20221111222013000.png
INFO Generated: skill/vscode/devcontainers/image-20221013231116766.png
INFO Generated: skill/python/fake-boolean/image-20221011000858341.png
INFO Generated: skill/vscode/devcontainers/image-20221013230240383.png
INFO Generated: skill/python/tencent-exmail-with-selenium/image-20221111231833088.png
INFO Generated: skill/python/tencent-exmail-with-selenium/image-20221111234751134.png
INFO Generated: skill/python/tencent-exmail-with-selenium/image-20221111233653005.png
INFO Generated: skill/python/tencent-exmail-with-selenium/image-20221111233426248.png
INFO Generated: skill/python/tencent-exmail-with-selenium/image-20221111140519358.png
INFO Generated: images/404.png
INFO Generated: skill/python/tencent-exmail-with-selenium/image-20221111140432449.png
INFO 144 files generated in 1.43 s
Generate under "Safe mode"
23:00:18 D:\...\hexo-blog [butterfly ≡ +0 ~5 -0 !] 1ms pwsh> yarn hexo generate --safe
INFO Validating config
INFO Start processing
INFO Files loaded in 137 ms
INFO Generated: link/index.md
INFO Generated: img/favicon.png
INFO Generated: css/var.styl
INFO Generated: categories/index.md
INFO Generated: tags/index.md
INFO Generated: img/404.jpg
INFO Generated: css/index.styl
INFO Generated: img/friend_404.gif
INFO Generated: js/tw_cn.js
INFO Generated: js/search/algolia.js
INFO Generated: js/utils.js
INFO Generated: js/main.js
INFO Generated: js/search/local-search.js
INFO Generated: images/index-title.jpg
INFO Generated: images/404.png
INFO 15 files generated in 29 ms
from hexo.
🛠️ Temporary walkaround
Rewrite the table with HTML syntax directly.
- 问题:请使用 *Prophet* 对 `train_df` 数据建模,预测后 30 天的结果。并回答 1 月 20 日当天的预测结果是多少?
> ```python
> from fbprophet import Prophet
>
> model = Prophet()
> model.fit(train_df)
> pred_df = model.make_future_dataframe(periods=30, freq='D', include_history=False)
> pred_df = model.predict(pred_df)
> pred_df[['ds', 'yhat']]
> ```
>
> 通过以上的建模预测,我们可以得到如下表格:
>
> <table style="text-align: center;">
> <thead>
> <tr><th>ds</th><th>yhat</th></tr>
> </thead>
> <tbody>
> <tr><td>2015-12-22</td><td>3385.507108</td></tr>
> <tr><td>......</td><td>......</td></tr>
> <tr><td>2016-01-20</td><td>3426.449686</td></tr>
> </tbody>
> </table>
>
> 因此,1月20日当天的预测结果约为3426次。
from hexo.
Can't reproduce. it works as expected.
from hexo.
I've changed my package.json
to hexo-renderer-markdown-it
. Unable to reproduce either. Seems this is caused by hexo-renderer-kramed
.
Thanks for your help ❤️
Markdown content
# 时间序列分析应用练习
## 数据集
- 下载地址:[阿里云 OSS 服务](https://labfile.oss.aliyuncs.com/courses/1283/wiki_machine_learning.csv)
- 来源:维基百科特定词条每日浏览量
## Prophet 建模预测
在 *Pandas* 中,数据集的时间字段会默认以 `object` 数据类型载入,需要调用 `pandas.to_datetime()` 函数将字段转换为可用于时间计算的 `datetime` 数据类型。
- 问题:请使用 *Prophet* 对 `train_df` 数据建模,预测后 30 天的结果。并回答 1 月 20 日当天的预测结果是多少?
> ```python
> from fbprophet import Prophet
>
> model = Prophet()
> model.fit(train_df)
> pred_df = model.make_future_dataframe(periods=30, freq='D', include_history=False)
> pred_df = model.predict(pred_df)
> pred_df[['ds', 'yhat']]
> ```
>
> 通过以上的建模预测,我们可以得到如下表格:
>
> | ds | yhat |
> |:----------:|:-----------:|
> | 2015-12-22 | 3385.507108 |
> | ...... | ...... |
> | 2016-01-20 | 3426.449686 |
>
> 因此,1月20日当天的预测结果约为3426次。
package.json
{
"name": "hexo-site",
"version": "0.0.0",
"private": true,
"scripts": {
"build": "hexo generate",
"clean": "hexo clean",
"rebuild": "yarn run clean && yarn run build",
"server": "hexo server"
},
"hexo": {
"version": "7.2.0"
},
"devDependencies": {
"hexo": "^7.2.0",
"hexo-asset-img": "^1.1.0",
"hexo-filter-nofollow": "^2.0.2",
"hexo-generator-archive": "^2.0.0",
"hexo-generator-category": "^2.0.0",
"hexo-generator-feed": "^3.0.0",
"hexo-generator-index": "^3.0.0",
"hexo-generator-searchdb": "^1.4.1",
"hexo-generator-sitemap": "^3.0.1",
"hexo-generator-tag": "^2.0.0",
"hexo-renderer-ejs": "^2.0.0",
"hexo-renderer-markdown-it": "^7.1.1",
"hexo-renderer-pug": "^3.0.0",
"hexo-renderer-stylus": "^3.0.1",
"hexo-server": "^3.0.0",
"hexo-theme-butterfly": "^4.13.0",
"hexo-wordcount": "^6.0.1",
"markdown-it-emoji": "^3.0.0",
"yarn-upgrade-all": "^0.7.2"
},
"packageManager": "[email protected]"
}
from hexo.
Related Issues (20)
- "post_link" tag doesn't work HOT 2
- Code blocks in HTML comments were incorrectly converted HOT 2
- hexo g is truncated by {# HOT 2
- 编译后,发布时多了一个不存在的空文件 HOT 4
- md生成的文件如果不带.html扩展名,会导致nginx中的mine.types文件配置无法匹配,会默认default_type,自有服务器可以更改成text/html,但是如果发布到github pages里面就会出现刷新页面,下载该页面的
- why themes folder is empty? 为何 themes 文件夹下没有文件? HOT 1
- Deployment is taking too much time HOT 9
- [FEATURE REQUEST] sort the tags and categories by alphabet
- Hexo install with pnpm report errors, but yarn not. HOT 1
- 页面全部变成黑白的,毫无预兆的,图片或者按钮或者装饰,整个页面变成黑白的。但是各个组件都正常工作 HOT 1
- Add `:path` as a valid permalink component? HOT 1
- Theme apply process optimization HOT 1
- hexo 7.2: Error: Cannot find module 'hexo-util/dist/spawn' HOT 1
- .j2 file in code_dir causing rendering error HOT 5
- `include_code` tag is broken in Hexo 7.2.0 HOT 3
- Can't find theme when deploying hexo on github pages HOT 4
- :name parameter in permalink cannot work as expected. HOT 2
- Remove bluebird HOT 1
- > Error: Spawn failed at ChildProcess. (/data/data/com.termux/files/home/blog/node_modules/hexo-util/lib/spawn.js:51:21) at ChildProcess.emit (node:events:513:28) at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12) emm不知道为什么
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hexo.