{"repo":"phlex-ruby/phlex-markdown","free":true,"listed":false,"github":"https://github.com/phlex-ruby/phlex-markdown","clone":"git clone https://github.com/phlex-ruby/phlex-markdown.git","description":null,"language":"Ruby","stars":38,"topics":["markdown","phlex","ruby"],"license":"MIT","category":"productivity","readme_excerpt":"phlex-markdown Phlex::Markdown is a Phlex view that renders Markdown into HTML using Phlex. You could use it directly — it takes a String of markdown and renders it to safe HTML. Alternatively, you can define a sub-class and override various methods to customise the output. For example, here we override h1 and ul , adding some Tailwind classes to them. When we render the view. The output will use the attributes from our methods. You could also wrap the whole document in an element by overriding template . Community 🙌 Everyone interacting in Phlex codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct. Sponsorship 💖 Maintaining a library is a lot of work. If your company benefits from this work or is likely to benefit from it in the future, please consider sponsorship. Phlex is actively developed and maintained by Joel Drapper . Security 🚨 If you’ve found a potential security issue, please email security@phlex.fun.","default_branch":null,"files":null,"tree":[],"storefront":"/r/phlex-ruby","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/phlex-ruby/phlex-markdown/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}