Hello there!
So I’ve been wanting to jump in Phoenix and I thought I’d try making it more difficult for myself with introducing Earmark into the equation.
I would say setting up like a blog, however I would find the CRUD way of doing things to be somewhat silly for me because…well it’s only me creating posts with Markdown.
I do have a few questions:
-
Should I bother with Ecto?
I’m more wondering what the best way to store everything. I think I should store both the Markdown itself and the generated HTML, in separate tables with a shared key like ID or something. Though I’m not the most experience with databases.
-
Potentially extending Earmark?
The two things I’d like to do is:
-
Have frontmatter in Markdown for posts
-
Components of sorts
Mainly just for use with things like code blocks and such.
Though maybe, for now, it would just be worth…somehow using remark? Though that sounds like it be a bit more of a headache.
-
-
ElixirLS to ignore certain folders.
I like that ElixirLS exists, however I wish I could tell it to not look in every directory in my project, slowing itself down and Emacs. Is it possible to have ElixirLS ignore some folders, or is that yet to be added in it’s functionality? Potentially specifying a
.gitignore
?
Thank you for any answers you give!