Open HarlanH opened 6 years ago
Is the author
required? I've added all other fields in https://github.com/xdamman/mediumexporter/pull/14 and can add the "Originally published" note as well.
Nice! I vaguely recall that the author field is required, but I imagine could be hard-coded to just be what I have above. And yes, the "Originally published" note would save a little time as well.
Ok. I supposed this is no longer relevant, but I'll have a look. I'm optimising for @gohugoio support at the moment, which is almost the same.
This is a great project -- thank you for building it! Saved me a bunch of time! I'm using Blogdown for my site, and there was some manual effort that could be automated. This issue is some notes that someone (maybe me, if I have time) could use to make it easier to copy Medium posts to Blogdown format.
If
--blogdown
is provided on the command line:YYYY-MM-DD-<slug>.Rmd
, where the slug does not include the hex string at the end of the Medium slugHere's an example of a header. Note that the title, date, tags, slug, and URL for the "first published" block can all easily be generated automatically.