Commit Graph

183 Commits

Author SHA1 Message Date
Will Boyd c3f189ab96 Need post.date instead of just post 2024-02-27 08:43:27 -05:00
Will Boyd 2135f260c9 Small tweaks, comments 2024-02-27 08:27:52 -05:00
Will Boyd dce423ac16 merge master and move code as needed 2024-02-27 08:13:37 -05:00
Will Boyd 873ce425a9 2.3.1 2024-02-26 14:36:26 -05:00
Will Boyd 85590bfb95 Merge pull request #112 from lonekorean/new-frontmatter-getters
New frontmatter getters
2024-02-26 14:35:11 -05:00
Will Boyd 3e2c6d956e Minor code style 2024-02-26 14:33:43 -05:00
Will Boyd 0c2fe7eb54 Comment clarification 2024-02-26 14:28:48 -05:00
Will Boyd 268e69abdd Frontmatter getter for type 2024-02-26 14:22:40 -05:00
Will Boyd da11ff0a83 Frontmatter getter for ID 2024-02-26 12:49:08 -05:00
Will Boyd 735d0f552b Indentation fix 2024-02-26 12:42:10 -05:00
Will Boyd 8477487047 I really need to do something about tabs 2024-02-26 12:41:35 -05:00
Will Boyd a8929901e3 Move author logic to frontmatter getter 2024-02-26 12:40:33 -05:00
Travis Fantina 36cbf638aa Adds author to front matter
This will likely need some configuration to enable it, I threw this
together at work but if there is intrest I can add that.
2024-02-26 11:54:57 -05:00
Will Boyd 755f752019 Tweak regex to avoid multiple spaces 2024-02-26 11:47:17 -05:00
Will Boyd 635451a4e3 Move getPostExcerpt() into frontmatter getter 2024-02-26 11:45:06 -05:00
Eka 932e7546fa add post excerpt to frontmatter 2024-02-26 11:31:30 -05:00
Will Boyd d0330f05d8 Comments about decoding 2024-02-26 11:20:29 -05:00
Will Boyd a46e6cffc7 Add funding 2024-02-25 18:27:03 -05:00
Will Boyd 9cbd3d8d56 2.3.0 2024-02-25 12:02:52 -05:00
Will Boyd bd7a03d420 Merge pull request #111 from lonekorean/frontmatter-slug
Frontmatter getter for slug
2024-02-25 08:49:59 -05:00
Will Boyd 54af4aec22 Frontmatter getter for slug 2024-02-25 08:48:56 -05:00
Will Boyd 5f2053c5b4 Merge pull request #110 from lonekorean/customizable-frontmatter
Customizable frontmatter
2024-02-24 14:56:58 -05:00
Will Boyd 491ca0151f Fix example.js link 2024-02-24 14:36:26 -05:00
Will Boyd 924a9553e9 More post parsing comments 2024-02-24 14:30:26 -05:00
Will Boyd b0bf777506 Ugh, tabs vs spaces 2024-02-24 14:25:05 -05:00
Will Boyd a0a1224d88 Rename debug.js to example.js 2024-02-24 14:16:28 -05:00
Will Boyd bb05a06280 Example/debug frontmatter getter 2024-02-24 10:02:40 -05:00
Will Boyd 002027e478 Nicer error when frontmatter getter missing 2024-02-24 09:12:07 -05:00
Will Boyd f65317713b Contributing guidelines 2024-02-24 08:58:56 -05:00
Will Boyd 815e67f135 Frontmatter getters comments 2024-02-24 08:00:23 -05:00
Will Boyd b75827a055 Mention frontmatter customization 2024-02-23 17:44:03 -05:00
Will Boyd a83c472c93 Comments 2024-02-23 14:23:41 -05:00
Will Boyd 641106ea82 Dynamic frontmatter loading 2024-02-23 13:35:01 -05:00
Will Boyd 3e8dd285b2 Fix for coverImage empty string 2024-02-23 13:07:20 -05:00
Will Boyd 3a5ea10cb9 Split out frontmatter getters 2024-02-23 12:53:58 -05:00
Will Boyd 1ad4e2dfdf Refactor for post data and frontmatter 2024-02-23 10:24:40 -05:00
Will Boyd 5db0a1b081 Merge pull request #109 from lonekorean/line-endings
Line ending shenanigans
2024-02-22 16:28:14 -05:00
Will Boyd 61e80e0250 Create .gitattributes 2024-02-22 16:23:32 -05:00
Will Boyd 7ef4d7462d 2.2.6 2024-02-22 14:45:35 -05:00
Will Boyd 4fb3f277a6 Merge pull request #108 from lonekorean/pre-code-blocks
<pre> code blocks
2024-02-22 14:42:25 -05:00
Will Boyd 25efa40994 Generalized code block rule 2024-02-22 13:06:23 -05:00
Drikus Roor 7367370f34 Fix enlighter rule selector 2024-02-22 11:57:43 -05:00
Drikus Roor 57109198df Add support for enlighter code blocks 2024-02-22 11:57:27 -05:00
Russell Bryant de842e51d9 Convert preformatted blocks
My wordpress blog had a lot of <pre> sections. The conversion to
markdown ignored those. This change did what I wanted, which was to
turn all of these into markdown code blocks. In my case, there was no
language set on any of my sections to carry over into markdown, so
that isn't handled at all.
2024-02-22 11:55:12 -05:00
Will Boyd 6c8e0c8b21 2.2.5 2024-02-22 08:13:07 -05:00
Will Boyd 2ce3572eaf Update xml2js 2024-02-22 08:11:37 -05:00
Will Boyd e63e338743 Merge pull request #107 from lonekorean/keep-figure-figcaption
Preserve <figure> and <figcaption>
2024-02-22 08:06:29 -05:00
Will Boyd 53523321ed Only preserve <figure> when contains <figcaption> 2024-02-21 17:38:28 -05:00
Will Boyd b1625f7700 Double newlines between all the things 2024-02-21 15:24:07 -05:00
Will Boyd 06ee39c545 preserve <figure> and <figcaption> 2024-02-21 14:24:40 -05:00