Xkcd

@magic-modules/xkcd

this is the @magic-modules Xkcd component.

It loads comic strips from imgs.xkcd.com.

installation

npm install --save-exact @magic-modules/xkcd

usage

first, go to the xkcd archive, and find the strip you want to embed, then use the name of the strip to load it.

magic words

<Xkcd>magic words<Xkcd>

renders

magic tree

full width images get loaded using the full: true prop

<Xkcd name="magic_tree" full="true"></Xkcd>

renders

magic school bus

<Xkcd name="magic school bus" full="true"></Xkcd>

renders

source

the source for this page is in the example directory and gets built and published to github using @magic