TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: emacs-ssg file-based routing site generation with and without Emacs

3 点作者 ngc6677超过 1 年前
Emacs&#x27; org-mode is great to write documents (.org files, similar to .md) and export them to HTML.<p>It is also practical to evaluate and export &quot;code blocks&quot;, like &quot;notebooks&quot; would do (observable framework, jupyter, mdx etc.).<p>With emacs-ssg, we don&#x27;t have to use emacs to write the document, but in the background it is used to evaluate the files and produce the HTML result in a `.&#x2F;public` folder.<p>With `npm create @sctlib&#x2F;emacs-ssg` we get the textual list of the few steps it takes to install and publish a project with content.<p>This project is mainly a wrapper around emacs and org-mode, to allow usage in the npm ecosystem and ways of publishing websites and pages. It tries to add nothing but a formal way to organize content in `&#x2F;content` for each pages and `&#x2F;assets&#x2F;{js,css,…}&#x2F;` for the static assets.

暂无评论

暂无评论