A react component to conditionally render JSX on the fly without dirtying your code with if blocks, ternaries and conditional expressions, in between JSX. The aim is to eliminate all conditional blocks from JSX, making code look more readable and cleaner.
@vue/compiler-sfc
An advance button component that should render nicely on any platform. Supports a great level of customization.
rehype plugin to transform inline and block math with KaTeX
An advance Input component that should render nicely on any platform. Supports a great level of customization.
An advance Slider component that should render nicely on any platform. Supports a great level of customization.
Renderer for @betterer/betterer
Simple menu elements for ProseMirror
An advance button component that should render nicely on any platform. Supports a great level of customization.
Functions for modifying a unified-latex AST
Astro integration for Expressive Code, a modular syntax highlighting & annotation engine for presenting source code on the web. Offers full VS Code theme support, editor & terminal frames, copy to clipboard, text markers, collapsible sections, and more.
rehype plugin to transform inline and block math with MathJax
Rehype plugin for Expressive Code, a modular syntax highlighting & annotation engine for presenting source code on the web. Offers full VS Code theme support, editor & terminal frames, copy to clipboard, text markers, collapsible sections, and more.
The component used with WordPress to server-side render a preview of dynamic blocks to display in the editor.
Render JSX to an HTML string, with support for Preact components.
render domhandler DOM nodes to a string
An advance badge component that should render nicely on any platform. Supports a great level of customization.
An advance avatar component that should render nicely on any platform. Supports a great level of customization.
An advance HR component that should render nicely on any platform. Supports a great level of customization.
An advance Radio, Radiogroup, checkbox, checkbox group, switch components that should render nicely on any platform. Supports a great level of customization.
template compiler for Vue 2.x
A moment.js plugin for formatting durations.
React wrapper around the @rive-app/canvas-lite library
An advance button component that should render nicely on any platform. Supports a great level of customization.
Chart Candy use D3.js library to quickly render AJAX charts in your Rails project. In a minimum amount of code, you should have a functional chart, styled and good to go.
The X-Frame-Options HTTP response header can be used to indicate whether or not a browser should be allowed to render a page in a <frame> or <iframe>
Proforma comes with basic object value resolution and no text templating. This library fills these necessities that any reasonably robust document rendering framework should have.
DRY your controllers and make your API more predictable by defining responders for different formats. E.g. Posting an invalid resource in HTML should render a form with errors, while in JSON you expect serialized errors.
This gem will parse YAML Front Matter of Markdown Documents. Typically, this gem would be called with a md renderer, such as Pandoc, that would turn the md into a document such as a .pdf file or a .docx file. By combining this pre-processing with a markdown renderer, you can ensure that both the structured content and the structured styles necessary for your firm or organization are more strictly enforced. Plus you won't have to deal with Word any longer, and every lawyer should welcome that. Why? Because Word is awful.
Email clients are not web browsers. They render html all funny, to put it politely. In general, the best practices for writing HTML that will look good in an email are the exact inverse from those that you should use for a web page. Remembering all those differences sucks.
AsciiPngfy is a Ruby Gem that enables you to render ASCII text into a PNG image up to a resolution of 3840(width) by 2160(height) using a 5x9 monospaced font. Configurable settings that influence the result are font-color, background-color, font-height, horizontal-spacing, vertical-spacing, and text. The result includes the PNG containing the intended image with all the settings applied, a snapshot of the settings used, and render dimensions that define the size the generated png should be rendered at to reflect the font-height settings. The generated png is always the lowest possible resolution. Each monospaced character takes up a 5(width) by 9(height) space to take advantage of scaled rendering and avoid unnecessarily large images. For the best visual results, the resulting png should be rendered in the original dimensions or the render dimensions along with a NEAREST filter.
Allows customization of: * Specify which level of notification you would like with an array of optional styles of notification (email, webhooks) * the sender address of the email * the recipient addresses * the text used to prefix the subject line * the HTTP status codes to notify for * the error classes to send emails for * alternatively, the error classes to not notify for * whether to send error emails or just render without sending anything * the HTTP status and status code that gets rendered with specific errors * the view path to the error page templates * custom errors, with custom error templates * define error layouts at application or controller level, or use the controller's own default layout, or no layout at all * get error notification for errors that occur in the console, using notifiable method * Override the gem's handling and rendering with explicit rescue statements inline. * Hooks into `git blame` output so you can get an idea of who (may) have introduced the bug * Hooks into other website services (e.g. you can send exceptions to to Switchub.com) * Can notify of errors occurring in any class/method using notifiable { method } * Can notify of errors in Rake tasks using NotifiedTask.new instead of task * Works with Hoptoad Notifier, so you can notify via SEN and/or Hoptoad for any particular errors. * Tested with Rails 2.3.x, should work with rails 2.2.x, and is apparently not yet compatible with rails 3.
** NOTE - This gem depends on e9_base, but does not reference it. It WILL NOT FUNCTION for apps which aren't built on the e9 Rails 3 CMS ** == E9Polls Provites a Poll renderable for the e9 Rails 3 CMS. == Installation 1. Include the gem and run the install generator to copy over the necessary files, then migrate. rails g e9_polls:install This will install the db migration, the JS and CSS required for the plugin to function properly, and an initializer. Modify the CSS as you see fit and the JS as required (carefully). Check out the initializer and modify if necessary. For non-Ajax fallbacks it uses the 'application' layout. This should be changed if the app doesn't use application layout as a sensible default. 2. Migrate the database. rake db:migrate 3. Finally, include the generated javascript and css (e9_polls.js and e9_polls.css) in the fashion suited to the app. 4. There is no #4.
asciidoctor-rfc lets you write Internet-Drafts and RFCs in a native "asciidoctor" syntax. RFC XML ("xml2rfc" Vocabulary XML, RFC7322) is the XML-based language used for writing Internet-Drafts and RFCs, but not everyone likes hand-crafting XML, especially when the focus should be on the content. Specifically, the gem provides two things. First, an "asciidoctor" like syntax that lets you utilize close to all features of native RFC XML, and maps most asciidoctor textual syntax (like tables) into RFC XML features. Then, RFC XML v3 (RFC 7991) and v2 (RFC 7749) backends that lets you render your AsciiDoc into, you guessed it, RFC XML v3 and v2. This gem is in active development.
Send SMS messages using the OpenMarket API
Remember the route prior to the current controller and redirect/use later In rails project, one common case is one form used to create or update an object can be routed from more than one page, when the object is created or updated, it should be redirected back to wherever it came from. Rails redirect_back doesn't work in this case because: 1. redirect_back in create/update action will go back to new/edit form. 2. usually the form is re-rendered if any error exists, which basically breaks the redirect_back. rails-source-path can hanlde this by explicily specifying the entry actions and remember the previous route in session store, hence can be used in the whole controller. Also a helper method is providered so it can be used in view like 'back' or 'cancel' button.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.