feat(llms): implement LLMS.txt & markdown for llm consumption#119
feat(llms): implement LLMS.txt & markdown for llm consumption#119LadyBluenotes wants to merge 1 commit intokobaltedev:mainfrom
Conversation
✅ Deploy Preview for solidbase ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
jer3m01
left a comment
There was a problem hiding this comment.
Looks good, I'll try out the note I left and test for merge.
| continue; | ||
| } | ||
|
|
||
| if (!inCodeFence && trimmedLine === "# {frontmatter.title}") { |
There was a problem hiding this comment.
Think we should target {frontmatter.title} in general.
Actually maybe we should entire thing trough compile, maybe we can extract it from the actual build through caching?
There was a problem hiding this comment.
Yeah I should handle frontmatter.title more generally. I'll change that.
I’m not sure pulling it from the final build output is a good idea though. It feels cleaner to do this in the compile/remark pipeline and cache it there, if needed. Unless that's what you meant?
There was a problem hiding this comment.
Yeah in remark or maybe rehype, if there's a way to get the other transforms that are relevant for md.
Before it becomes html.
Because there isn't just frontmatter.title, users can make up any variable in the top and use it in the content.
No description provided.