Remove indentations from a block of code
unindent multiple lines
Microlibrary for unindenting multiline strings.
here-document on node.js
Unindent a string by the minimum amount of leading whitespace
Strips the leading whitespace from the left of a multiline string
remove origin's indentation
A tiny utility for generating source code
MaiaStudio (The MaiaScript IDE) MaiaScript is a programming language aimed at developing adaptable and intelligent applications.
GitBook plugin for including file
Block tune for Editor.js
Paragraph indent plugin for CKEditor 5.
Heredoc helpers for ES2015 template strings
Add editor-like tab-to-indent functionality to <textarea>, in a few bytes
MaiaEditor (The MaiaStudio Editor) MaiaScript is a programming language aimed at developing adaptable and intelligent applications.
Add two buttons to Etherpad and make them do something, oh and save the pads content to a file on the server..
Unindents a string by a maxiumum possible number of white space present on each line.
GitBook plugin for including file
Fonds's opinionated ESLint rules
a few small tools for working with text in js
This repository hosts web components for the Dodona platform. Currently, it contains a single component: the **Parsons Puzzle**.
A minimal TUI markdown editor with task management
Generate a User Story Map from indented text.
Generate a User Story Mapping from indented text.
Remove a column of leading whitespace from a string
Indented document literals
Indented document literals
A small, yet powerful, Rust crate for string interpolation
A simple tool to unindent text
Visualize proc-macro2 spans for debugging and assertions
Beautiful diagnostic reporting for text-based programming languages
Beautiful diagnostic reporting for text-based programming languages
Beautiful diagnostic reporting for text-based programming languages
A simple library to format hierarchical structures as text-based trees
An opinionated library for developing and testing rust applications that use logging.
Beautiful diagnostic reporting for M4 (or cpp) preprocessed text files
Ruby method to unindent strings. Useful for multiline strings embeded in already indented code.
This gem removes common margin from indented strings, such as the ones produced by indented heredocs. In other words, it strips out leading whitespace chars at the beggining of each line, but only as much as the line with the smallest margin. It is acknowledged that many strings defined by heredocs are just code and fact is that most parsers are insensitive to indentation. If, however, the strings are to be used otherwise, be it for printing or testing, the extra indentation will probably be an issue and hence this gem.
Ruby method to unindent strings. Useful for multiline strings embeded in already indented code.
Unindent strings, especially heredocs.
Unindent strings, especially heredocs.
A very simple gem that adds some methods to some Ruby standard classes, e.g. <array>.include_any?, <array>.delete_random, etc. Simply require the gem ( require "more_ruby" ) and the additional methods will be available. # New instance methods # ## Array :all_instance_of?, :all_kind_of?, :av, :delete_random, :include_any?, :insert_flat, :mean, :modulo_fetch, :peach, :random, :random_index, :random_insert, :random_move, :stringify_all_values_deep, :sum, :wrap_fetch ## Float :format_with_thousands_delimiter, :signif ## Hash :all_keys, :all_values, :delete_random, :peach, :random_key, :random_pair, :random_value, :remove_empty_fields, :sort_deep, :stringify_all_values_deep, :strip_hash_of_keys, :to_a_deep, :to_xml ## Integer :digit_count, :format_with_thousands_delimiter, :num_to_letter, :signif ## NilClass :empty? ## Numeric :format_with_thousands_delimiter ## String :append, :camelcase, :camelcase_to_snakecase, :capitalize_all, :capitalize_first_letter_only, :escape, :escape_whitespace, :extract_values_from_xml_string, :formatted_number, :index_of_last_capital, :invert_case, :is_hex?, :is_integer?, :join, :pascalcase, :prefix_lines, :random_case, :snakecase, :snakecase_and_downcase, :to_bool, :unindent ## Time :is_after?, :is_before?, :is_within?, :remove_subseconds # New singleton methods # ## FalseClass :maybe?, :random ## File :basename_no_ext ## TrueClass :maybe?, :random
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.