Commit Graph

102 Commits

Author SHA1 Message Date
Will Boyd 6a6e5074f0 Fixed validation/normalization for wizard 2025-01-25 13:46:47 -05:00
Will Boyd 1f890b4079 Just a whole lot of stuff in progress 2025-01-25 10:27:24 -05:00
Will Boyd 3f4b244935 Update inquirer and fix code 2025-01-21 10:32:28 -05:00
Will Boyd bafe869221 Remove output option 2025-01-20 16:28:36 -05:00
Will Boyd 2add380406 Remove include-other-types option 2025-01-20 16:09:27 -05:00
Will Boyd ed9aad04e2 Remove aliases 2025-01-20 15:30:19 -05:00
Will Boyd efd1423bde Update documentation for frontmatter.js change 2025-01-20 11:56:58 -05:00
Will Boyd c6a6c1e1cc Sort imports, delete old frontmatter getters 2025-01-20 11:49:26 -05:00
Will Boyd 22d332a20f Convert to ES modules and related changes 2025-01-18 14:22:53 -05:00
Will Boyd c94ec8bb81 Fix linting errors 2025-01-16 10:08:09 -05:00
Will Boyd de420fa8dd Update deps, changes for commander opts 2025-01-16 08:52:58 -05:00
Will Boyd 3bcec3a023 cleanup 2024-05-22 09:11:01 -04:00
Will Boyd 9b2d7a698f Switching from request to axios 2024-05-21 10:27:21 -04:00
Will Boyd 47df034ba0 Catch URIError 2024-03-01 12:54:27 -05:00
Will Boyd d579d2604e Refactor from wizard option to advanced setting 2024-02-29 14:39:13 -05:00
leon dd993b626b Add webp support. Provide the option to disable strict SSL to facilitate local testing. 2024-02-29 13:00:48 -05:00
Will Boyd f1b29c1d08 Add check for attachment.attachment_url 2024-02-27 11:30:17 -05:00
Will Boyd 5cf451ecf0 Remove extra newline 2024-02-27 08:45:07 -05:00
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 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 54af4aec22 Frontmatter getter for slug 2024-02-25 08:48:56 -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 815e67f135 Frontmatter getters comments 2024-02-24 08:00:23 -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 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 53523321ed Only preserve <figure> when contains <figcaption> 2024-02-21 17:38:28 -05:00