Created
September 16, 2022 19:31
-
-
Save midwire/8f7deef11181cdd9c64de624d7c773b1 to your computer and use it in GitHub Desktop.
[Rails renderer formats and handlers] list of rendering formats and handlers for Rails #ruby #rails
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# You can pass these to `render` | |
formats: [ | |
:atom, | |
:bmp, | |
:css, | |
:csv, | |
:doc, | |
:doc, | |
:docx, | |
:docx, | |
:gif, | |
:gzip, | |
:html, | |
:ics, | |
:jpeg, | |
:js, | |
:json, | |
:m4a, | |
:mp3, | |
:mp4, | |
:mpeg, | |
:multipart_form, | |
:ogg, | |
:otf, | |
:pdf, | |
:pdf, | |
:png, | |
:rss, | |
:svg, | |
:text, | |
:tiff, | |
:ttf, | |
:url_encoded_form, | |
:vcf, | |
:vtt, | |
:webm, | |
:woff, | |
:woff2, | |
:xls, | |
:xlsx, | |
:xml, | |
:yaml, | |
:zip | |
], | |
handlers: [ | |
:"inky-axlsx", | |
:"inky-builder", | |
:"inky-caracal", | |
:"inky-coffee", | |
:"inky-erb", | |
:"inky-haml", | |
:"inky-html", | |
:"inky-jbuilder", | |
:"inky-prawn", | |
:"inky-raw", | |
:"inky-ruby", | |
:axlsx, | |
:builder, | |
:caracal, | |
:coffee, | |
:erb, | |
:haml, | |
:html, | |
:inky, | |
:jbuilder, | |
:prawn, | |
:raw, | |
:ruby | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment