Hi, thanks for your great extension for Hugo user. I have a little problem when design a custom action. Would you please provide some codes / examples for frontMatter.custom.scripts?
Thanks very much~
Hi, thanks for your great extension for Hugo user. I have a little problem when design a custom action. Would you please provide some codes / examples for `frontMatter.custom.scripts`?
Thanks very much~
<!-- github-sync-id:938700165 -->
Let me know if you have any other questions about it.
On the readme, there was a sample provided. I have updated this one, hope it makes it a bit clearer. The script itself can also be found here: https://github.com/estruyf/vscode-front-matter/blob/master/sample/script-sample.js
Let me know if you have any other questions about it.
<!-- github-comment-id:875495690 -->
Let me know if you have any other questions about it.
Thank you very much for your kindly reply~ That is a great toturial example for a beginer like me. Actually, I want to active an action which can add a shortcode by only an action click on the panel. Anyway, I am going to read your source codes and have a try to achieve it.
Best Regards
> On the readme, there was a sample provided. I have updated this one, hope it makes it a bit clearer. The script itself can also be found here: https://github.com/estruyf/vscode-front-matter/blob/master/sample/script-sample.js
>
> Let me know if you have any other questions about it.
Thank you very much for your kindly reply~ That is a great toturial example for a beginer like me. Actually, I want to active an action which can add a shortcode by only an action click on the panel. Anyway, I am going to read your source codes and have a try to achieve it.
Best Regards
<!-- github-comment-id:876105186 -->
Going to close this issue. Feel free to let me know if more details are required.
Also wrote an article about how I use it to generate my blog its preview images: https://www.eliostruyf.com/generate-open-graph-preview-image-code-front-matter/
<!-- github-comment-id:896016563 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Hi, thanks for your great extension for Hugo user. I have a little problem when design a custom action. Would you please provide some codes / examples for
frontMatter.custom.scripts?Thanks very much~
On the readme, there was a sample provided. I have updated this one, hope it makes it a bit clearer. The script itself can also be found here: https://github.com/estruyf/vscode-front-matter/blob/master/sample/script-sample.js
Let me know if you have any other questions about it.
Thank you very much for your kindly reply~ That is a great toturial example for a beginer like me. Actually, I want to active an action which can add a shortcode by only an action click on the panel. Anyway, I am going to read your source codes and have a try to achieve it.
Best Regards
Going to close this issue. Feel free to let me know if more details are required.
Also wrote an article about how I use it to generate my blog its preview images: https://www.eliostruyf.com/generate-open-graph-preview-image-code-front-matter/