You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To import your posts from [Medium](https://medium.com/), run:
11
-
12
-
{% highlight bash %}
13
-
$ ruby -r rubygems -e 'require "jekyll-import";
14
-
JekyllImport::Importers::Medium.run({
15
-
"username" => "name",
16
-
"render_audio" => false,
17
-
"canonical_link" => false,
18
-
})'
19
-
{% endhighlight %}
20
-
21
-
The `username` refers to the medium username, and it's a mandatory field.
22
-
23
-
Other optional fields are as follows:
24
-
*`canonical_link` – copy original link as `canonical_url` to post. (default: `false`)
25
-
*`render_audio` – render `<audio>` element in posts for the enclosure URLs. (default: `false`)
26
-
27
-
_Note:_ This importer will also import the existing tags/labels from Medium post and include the tags to [Front Matter](https://jekyllrb.com/docs/front-matter/).
4
+
This importer will also import existing tags / labels from Medium post and include those tags to the generated post's
0 commit comments