madebymany / sir-trevor-rails

Rails gem for Sir Trevor integration.
MIT License
149 stars 50 forks source link

Allow to pass extra options to sir_trevor_markdown helper #45

Open SergeyKishenin opened 9 years ago

SergeyKishenin commented 9 years ago

For example:

<div class="st__content-block st__content-block--text">
  <%= sir_trevor_markdown text_block.text, link_attributes: { target: "_blank" } %>
</div>