Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support media directly in markdown syntax #10

Closed
rhukster opened this issue Aug 18, 2014 · 1 comment
Closed

Support media directly in markdown syntax #10

rhukster opened this issue Aug 18, 2014 · 1 comment
Assignees
Milestone

Comments

@rhukster
Copy link
Member

Currently media functionality provides powerful image manipulation. http://learn.getgrav.org/content/media. However it requires twig tags, and twig processing to be enabled for a page. Ideally we would extend parsedown to translate local image references into media calls. This way it would be more readable, and editable in markdown editors, yet still providing the power of our media processing.

![Alt text](image1jpg?forceResize=200,200 "Optional title")
@rhukster rhukster added this to the 0.9.0 Release milestone Aug 18, 2014
@rhukster rhukster assigned mahagr and rhukster and unassigned mahagr Aug 18, 2014
@rhukster
Copy link
Member Author

Ok this support has been added. No more process: twig: true required on the page. All the media stuff is supported for example:

![Muertos Cat](muertos.jpg?cropResize=300,300 "Muertos OctoCat ")

![Iron Cat](ironcat.jpg?lightbox=900,900&cropResize=300,300&grayscale "Iron OctoCat ")

Even lightbox HTMl can be generated from this tag - pretty cool!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants