Commit Graph

94 Commits

Author SHA1 Message Date
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
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
Will Boyd bcc0c5ce3e Remove iframe non-empty hack (fixed in turndown) 2024-02-21 13:33:16 -05:00
Will Boyd 6fcdb82b90 get in there, semicolon 2024-02-21 10:31:26 -05:00
Will Boyd 8c0c6b3f2a Preserve more separator HTML comment 2024-02-21 10:20:57 -05:00
Will Boyd 58a23a3f36 Update luxon 2024-02-20 13:16:19 -05:00
Frédéric Harper 3f41e6d52a fix date conversion (fix #66) 2021-05-19 18:10:17 -04:00
mfuku 914ab1c1ed change to comment 2021-05-13 20:29:18 +09:00