ink
ink copied to clipboard
An elegant static blog generator
隐藏问题
隐藏掉的文章,通过打开同一标签页内文章,即可访问到
**Describe the bug** Markdown解析序号标记的多个链接的时候,序号为[1]的链接没有解析。 测试用例见附件: [source.zip](https://github.com/InkProject/ink/files/2380679/source.zip) 如附件中的1.html的第33行的“* [电子书资源总汇][1] ” 中的[1]没有解析为相应的链接,而其它的则解析正常
在build中,source下子文件夹不自动复制public中去,生成的html都在根目录,这样的同名html就会出问题
在serve.go约50行处 ``` var dirs = []string{ filepath.Join(rootPath, "source"), filepath.Join(themePath, "bundle"), } ``` 自己在主题文件目录下定义新的静态文件夹名会panic,出现这样的错误. ``` Finished to build in public folder (8.756469ms) panic: runtime error: invalid memory address or nil pointer...
文档中提到 > 在source目录下创建的任意.html文件将被复制,这些文件中可引用config.yml中site字段下的所有变量。  不过我在site下新建变量后会导致文章生成错误
捣鼓了个主题
## 地址 [ink-theme-story](https://github.com/akkuman/ink-theme-story) ## 预览图 
Now i find ,if i named same name article ,then,a problem knock on a door,issue:i create some directory,and different directory but same name files
我发现 Ink 并没有直接 import "github.com/russross/blackfriday",而是 import 了自己 fork 的 blackfriday,故有此问。 因为 blackfriday v2 多了可定制选项 `blackfriday.WithRenderer`,经过不停地搜索学习,我这两天用这个特性**实现了**自定义 TOC 生成的功能: .md 的头部 meta 信息里,用 `toc: true` 来生成 TOC(目录)。 ``` title: "不问罪福 念佛皆生" date:...
移动端页面 Markdown 显示存在问题,部分格式无法正确显示。请教在移动端强行使用电脑版网页该如何修改配置参数?
See more information on https://classless.alhur.es/. The basic idea is that the same HTML template/layout could support many different themes by just changing one CSS tag. The [HTML structure](https://github.com/fiatjaf/classless/blob/master/explained-structure.html) is very...