openframeworks / ofSite

openFrameworks web site
http://openframeworks.cc
159 stars 577 forks source link

howTo markdown and image location? #498

Open ofZach opened 8 years ago

ofZach commented 8 years ago

Is there way to do images w/ the howtos / markdown so that they are good in preview as well on the site? For example, this is what it looks like now (and it looks the same on my markdown editor)

https://github.com/openframeworks/ofSite/blob/master/learning/01_basics/How_to_save_a_file.markdown

It feels like having the images work in preview as well as on the site could make editing easier....

arturoc commented 8 years ago

mmh yeah the new web turns somefile.md into somefile/index.md so urls are nicer but that makes the image paths slightly weird. i guess we can use:

![](How_to_save_a_file/How_to_save_a_file_output.jpg)

and then have the tutorials plugin remove the extra folder. i can take a look at that if it seems like a good solution