-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Single File, Generate/ Deploy #2519
Comments
You could do so via |
Yes correct and that's why the render command does not suits my needs, also it does not apply the theme, only does a plain html conversion. |
I got your idea. I thought renderer would apply the theme. |
Great Thanks! Would be great if you could provide me some pointers, I'll send a PR once done. |
Glad you would like to contribute. I think you could start with the ConsoleRender. Probably add a flag to make it render with themes. https://github.com/hexojs/hexo/blob/master/lib/plugins/console/render.js |
Cool, thanks! |
Moreover, you also could take a look at how generate command rendering a post. Lines 382 to 390 in 4676ca2
|
Great that helps! |
Hey There, I'm half way through it. |
I think it should set to the path and file data. Lines 350 to 354 in 4676ca2
|
Can we only generate/deploy single file?
Eg:
The text was updated successfully, but these errors were encountered: