* Install Katex gem * Add Katex stylesheet and spec * Implement basic error handling * Remove comment * Create more spec * Update approval file Changes is due to turning off RedCarpet's superscript feature * Add instruction to _editor_guide_text * Serve our own KaTeX css * Apply Rhyme's suggestion * Limit Katex's css use * Update spec * Add spec Co-authored-by: Ben Halpern <bendhalpern@gmail.com>
11 lines
230 B
Ruby
11 lines
230 B
Ruby
::REDCARPET_CONFIG = {
|
|
autolink: true,
|
|
no_intra_emphasis: true,
|
|
fenced_code_blocks: true,
|
|
lax_html_blocks: true,
|
|
lax_spacing: true,
|
|
strikethrough: true,
|
|
superscript: false,
|
|
tables: true,
|
|
footnotes: true
|
|
}.freeze
|