Giter Club home page Giter Club logo

emd's Introduction

Hi there ๐Ÿ‘‹

emd's People

Contributors

7dir avatar dependabot[bot] avatar fwolfst avatar ytbryan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

emd's Issues

Rails6 compatibility

In Rails6 the signature for TemplateHandlers apparently changed.

#call now requires two arguments (template and source). I will PR an easy fix, but do not know how to keep backwards compatibility (other template handler implementations should have done that, though).

emd.js assets:compile error

Hi

I copied emd.js into my app/assets/javascripts directory and I get an error about ()

app/assets/javascripts/emd.js
ExecJS::ProgramError: Unexpected token: punc ()) (line: 1, col: 47, pos: 47)

If I comment out all lines in emd.js the asset precompile works fine.

Do you have any ideas on what I am doing wrong?

Code highlighting?

Great gem, exactly what I was looking for.

I was wondering how I would do code syntax highlighting?

Implement caching?

I just stumbled around https://www.lugolabs.com/articles/render-markdown-views-with-redcarpet-and-pygment-in-rails . I like the class setup (#erb with memoization, #markdown, #render and #call, but imho should add #redcarpet_options) and he or she is adding caching functionality at the very and of the article. Sounds like a very low hanging fruit.

I havent done any caching research, in able to render a markdown file with different renderers (e.g. TOC), I guess the cache key should not be generated only from the file content, but also from another value like :emd_redcarped_md` or something like that, but really just guessing here.

I am a bit pessimistic that I will find time to craft a PR.

Are we up to emd 0.2.0? :)

Upgrade redcarpet due to security vulnerability

The redcarpet gem has a security vulnerability in 3.4.0. With emd having is set to be reliant specifically on 3.4.0, we can't easily fix the patch without forking this project.

Name: redcarpet
Version: 3.4.0
CVE: CVE-2020-26298
GHSA: GHSA-q3wr-qw3g-3p4h
Criticality: Medium
URL: https://github.com/vmg/redcarpet/commit/a699c82292b17c8e6a62e1914d5eccc252272793
Title: Injection/XSS in Redcarpet
Solution: upgrade to >= 3.5.1

Could we get a new version of emd released with an update to the redcarpet dependency?

Leverage redcarpets TOC rendering

Redcarpet comes with a TOC-renderer. I'd like to use that one and drafted a pretty rough implementation in my fork.

It is already usable like the following: Copy (better: symlink) the relevant file (e.g. README.md) while changing its extension to .md_toc (e.g. README.md_toc: ln -s README.md README.md_toc). Then call render as usally, but run through the file twice:

    <%= render 'markdown.md_toc' %>
    <%= render 'markdown.md' %>

In the implementation as-is, you have to specify the full filename I guess (didnt try without, shouldnt work) to dissociate between the two files (alternative, rename to something like README_TOC.md_toc.

I agree that the API is not yet ready for winning awards, but its just a hacky sketch for now. What do you think about that feature? How would you like the API to look like (maybe render_toc 'readme'?).

Rails 6 - Single arity template handlers are deprecated

I have a problem with Rails 6, not render the page with markdown, follow the trace.

ArgumentError: wrong number of arguments (given 1, expected 2)
-156 non-project frames
1
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/template/handlers/erb.rb" line 43 in call
2
File "/app/vendor/bundle/ruby/2.6.0/gems/emd-0.4.0/config/initializers/markdown_template_handler.rb" line 17 in call
3
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/template/handlers.rb" line 31 in call
4
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/template.rb" line 315 in compile
5
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/template.rb" line 285 in block (2 levels) in compile!
6
File "/app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/notifications.rb" line 182 in instrument
7
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/template.rb" line 382 in instrument
8
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/template.rb" line 284 in block in compile!
9
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/template.rb" line 276 in synchronize
10
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/template.rb" line 276 in compile!
11
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/template.rb" line 184 in block in render
12
File "/app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/notifications.rb" line 180 in block in instrument
13
File "/app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/notifications/instrumenter.rb" line 24 in instrument
14
File "/app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/notifications.rb" line 180 in instrument
15
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/template.rb" line 386 in instrument_render_template
16
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/template.rb" line 183 in render
17
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/renderer/template_renderer.rb" line 59 in block (2 levels) in render_template
18
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/renderer/abstract_renderer.rb" line 89 in block in instrument
19
File "/app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/notifications.rb" line 180 in block in instrument
20
File "/app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/notifications/instrumenter.rb" line 24 in instrument
21
File "/app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/notifications.rb" line 180 in instrument
22
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/renderer/abstract_renderer.rb" line 88 in instrument
23
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/renderer/template_renderer.rb" line 58 in block in render_template
24
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/renderer/template_renderer.rb" line 66 in render_with_layout
25
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/renderer/template_renderer.rb" line 57 in render_template
26
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/renderer/template_renderer.rb" line 13 in render
27
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/renderer/renderer.rb" line 61 in render_template_to_object
28
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/renderer/renderer.rb" line 29 in render_to_object
29
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/rendering.rb" line 118 in block in _render_template
30
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/base.rb" line 304 in in_rendering_context
31
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/rendering.rb" line 117 in _render_template
32
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/streaming.rb" line 219 in _render_template
33
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/rendering.rb" line 103 in render_to_body
34
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/rendering.rb" line 52 in render_to_body
35
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/renderers.rb" line 142 in render_to_body
36
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/abstract_controller/rendering.rb" line 25 in render
37
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/rendering.rb" line 36 in render
38
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/instrumentation.rb" line 44 in block (2 levels) in render
39
File "/app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/benchmark.rb" line 14 in block in ms
40
File "/app/vendor/ruby-2.6.4/lib/ruby/2.6.0/benchmark.rb" line 308 in realtime
41
File "/app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/benchmark.rb" line 14 in ms
42
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/instrumentation.rb" line 44 in block in render
43
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/instrumentation.rb" line 85 in cleanup_view_runtime
44
File "/app/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/railties/controller_runtime.rb" line 34 in cleanup_view_runtime
45
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/instrumentation.rb" line 43 in render
46
File "/app/vendor/bundle/ruby/2.6.0/gems/meta-tags-2.12.0/lib/meta_tags/controller_helper.rb" line 22 in render
47
File "/app/vendor/bundle/ruby/2.6.0/gems/turbolinks_render-0.9.15/lib/turbolinks_render/rendering.rb" line 8 in render
48
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/implicit_render.rb" line 35 in default_render
49
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/basic_implicit_render.rb" line 6 in block in send_action
50
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/basic_implicit_render.rb" line 6 in tap
51
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/basic_implicit_render.rb" line 6 in send_action
52
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/abstract_controller/base.rb" line 196 in process_action
53
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/rendering.rb" line 30 in process_action
54
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/abstract_controller/callbacks.rb" line 42 in block in process_action
55
File "/app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/callbacks.rb" line 135 in run_callbacks
56
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/abstract_controller/callbacks.rb" line 41 in process_action
57
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/rescue.rb" line 22 in process_action
58
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/instrumentation.rb" line 33 in block in process_action
59
File "/app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/notifications.rb" line 180 in block in instrument
60
File "/app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/notifications/instrumenter.rb" line 24 in instrument
61
File "/app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/notifications.rb" line 180 in instrument
62
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/instrumentation.rb" line 32 in process_action
63
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/params_wrapper.rb" line 245 in process_action
64
File "/app/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/railties/controller_runtime.rb" line 27 in process_action
65
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/abstract_controller/base.rb" line 136 in process
66
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/rendering.rb" line 39 in process
67
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal.rb" line 191 in dispatch
68
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal.rb" line 252 in dispatch
69
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/routing/route_set.rb" line 51 in dispatch
70
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/routing/route_set.rb" line 33 in serve
71
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/journey/router.rb" line 49 in block in serve
72
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/journey/router.rb" line 32 in each
73
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/journey/router.rb" line 32 in serve
74
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/routing/route_set.rb" line 837 in call
75
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
76
File "/app/vendor/bundle/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb" line 192 in call!
77
File "/app/vendor/bundle/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb" line 169 in call
78
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
79
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/rack/agent_hooks.rb" line 30 in traced_call
80
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
81
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/rack/browser_monitoring.rb" line 32 in traced_call
82
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
83
File "/app/vendor/bundle/ruby/2.6.0/gems/warden-1.2.8/lib/warden/manager.rb" line 36 in block in call
84
File "/app/vendor/bundle/ruby/2.6.0/gems/warden-1.2.8/lib/warden/manager.rb" line 34 in catch
85
File "/app/vendor/bundle/ruby/2.6.0/gems/warden-1.2.8/lib/warden/manager.rb" line 34 in call
86
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
87
File "/app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/tempfile_reaper.rb" line 15 in call
88
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
89
File "/app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/etag.rb" line 25 in call
90
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
91
File "/app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/conditional_get.rb" line 25 in call
92
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
93
File "/app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/head.rb" line 12 in call
94
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
95
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/http/content_security_policy.rb" line 18 in call
96
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
97
File "/app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/session/abstract/id.rb" line 232 in context
98
File "/app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/session/abstract/id.rb" line 226 in call
99
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
100
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/cookies.rb" line 648 in call
101
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
102
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/callbacks.rb" line 27 in block in call
103
File "/app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/callbacks.rb" line 101 in run_callbacks
104
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/callbacks.rb" line 26 in call
105
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
106
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/actionable_exceptions.rb" line 17 in call
107
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
108
File "/app/vendor/bundle/ruby/2.6.0/gems/rollbar-2.22.1/lib/rollbar/middleware/rails/rollbar.rb" line 25 in block in call
109
File "/app/vendor/bundle/ruby/2.6.0/gems/rollbar-2.22.1/lib/rollbar.rb" line 145 in scoped
110
File "/app/vendor/bundle/ruby/2.6.0/gems/rollbar-2.22.1/lib/rollbar/middleware/rails/rollbar.rb" line 22 in call
111
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
112
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/debug_exceptions.rb" line 32 in call
113
File "/app/vendor/bundle/ruby/2.6.0/gems/rollbar-2.22.1/lib/rollbar/middleware/rails/show_exceptions.rb" line 22 in call_with_rollbar
114
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
115
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/show_exceptions.rb" line 33 in call
116
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
117
File "/app/vendor/bundle/ruby/2.6.0/gems/turbolinks_render-0.9.15/lib/turbolinks_render/middleware.rb" line 77 in call
118
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
119
File "/app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.0/lib/rails/rack/logger.rb" line 38 in call_app
120
File "/app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.0/lib/rails/rack/logger.rb" line 26 in block in call
121
File "/app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/tagged_logging.rb" line 80 in block in tagged
122
File "/app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/tagged_logging.rb" line 28 in tagged
123
File "/app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/tagged_logging.rb" line 80 in tagged
124
File "/app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.0/lib/rails/rack/logger.rb" line 26 in call
125
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
126
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/remote_ip.rb" line 81 in call
127
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
128
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/request_id.rb" line 27 in call
129
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
130
File "/app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/method_override.rb" line 22 in call
131
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
132
File "/app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/runtime.rb" line 22 in call
133
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
134
File "/app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/cache/strategy/local_cache_middleware.rb" line 29 in call
135
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
136
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/executor.rb" line 14 in call
137
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
138
File "/app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/deflater.rb" line 34 in call
139
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
140
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/static.rb" line 126 in call
141
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
142
File "/app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/sendfile.rb" line 111 in call
143
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
144
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/ssl.rb" line 74 in call
145
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
146
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/host_authorization.rb" line 77 in call
147
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
148
File "/app/vendor/bundle/ruby/2.6.0/gems/rack-cors-1.0.3/lib/rack/cors.rb" line 95 in call
149
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
150
File "/app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.0/lib/rails/engine.rb" line 526 in call
151
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
152
File "/app/vendor/bundle/ruby/2.6.0/gems/puma-4.2.0/lib/puma/configuration.rb" line 228 in call
153
File "/app/vendor/bundle/ruby/2.6.0/gems/puma-4.2.0/lib/puma/server.rb" line 670 in handle_request
154
File "/app/vendor/bundle/ruby/2.6.0/gems/puma-4.2.0/lib/puma/server.rb" line 473 in process_client
155
File "/app/vendor/bundle/ruby/2.6.0/gems/puma-4.2.0/lib/puma/server.rb" line 331 in block in run
156
File "/app/vendor/bundle/ruby/2.6.0/gems/puma-4.2.0/lib/puma/thread_pool.rb" line 134 in block in spawn_thread
ActionView::Template::Error: wrong number of arguments (given 1, expected 2)
-156 non-project frames
1
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/template/handlers/erb.rb" line 43 in call
2
File "/app/vendor/bundle/ruby/2.6.0/gems/emd-0.4.0/config/initializers/markdown_template_handler.rb" line 17 in call
3
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/template/handlers.rb" line 31 in call
4
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/template.rb" line 315 in compile
5
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/template.rb" line 285 in block (2 levels) in compile!
6
File "/app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/notifications.rb" line 182 in instrument
7
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/template.rb" line 382 in instrument
8
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/template.rb" line 284 in block in compile!
9
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/template.rb" line 276 in synchronize
10
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/template.rb" line 276 in compile!
11
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/template.rb" line 184 in block in render
12
File "/app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/notifications.rb" line 180 in block in instrument
13
File "/app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/notifications/instrumenter.rb" line 24 in instrument
14
File "/app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/notifications.rb" line 180 in instrument
15
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/template.rb" line 386 in instrument_render_template
16
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/template.rb" line 183 in render
17
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/renderer/template_renderer.rb" line 59 in block (2 levels) in render_template
18
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/renderer/abstract_renderer.rb" line 89 in block in instrument
19
File "/app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/notifications.rb" line 180 in block in instrument
20
File "/app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/notifications/instrumenter.rb" line 24 in instrument
21
File "/app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/notifications.rb" line 180 in instrument
22
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/renderer/abstract_renderer.rb" line 88 in instrument
23
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/renderer/template_renderer.rb" line 58 in block in render_template
24
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/renderer/template_renderer.rb" line 66 in render_with_layout
25
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/renderer/template_renderer.rb" line 57 in render_template
26
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/renderer/template_renderer.rb" line 13 in render
27
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/renderer/renderer.rb" line 61 in render_template_to_object
28
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/renderer/renderer.rb" line 29 in render_to_object
29
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/rendering.rb" line 118 in block in _render_template
30
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/base.rb" line 304 in in_rendering_context
31
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/rendering.rb" line 117 in _render_template
32
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/streaming.rb" line 219 in _render_template
33
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/rendering.rb" line 103 in render_to_body
34
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/rendering.rb" line 52 in render_to_body
35
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/renderers.rb" line 142 in render_to_body
36
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/abstract_controller/rendering.rb" line 25 in render
37
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/rendering.rb" line 36 in render
38
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/instrumentation.rb" line 44 in block (2 levels) in render
39
File "/app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/benchmark.rb" line 14 in block in ms
40
File "/app/vendor/ruby-2.6.4/lib/ruby/2.6.0/benchmark.rb" line 308 in realtime
41
File "/app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/core_ext/benchmark.rb" line 14 in ms
42
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/instrumentation.rb" line 44 in block in render
43
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/instrumentation.rb" line 85 in cleanup_view_runtime
44
File "/app/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/railties/controller_runtime.rb" line 34 in cleanup_view_runtime
45
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/instrumentation.rb" line 43 in render
46
File "/app/vendor/bundle/ruby/2.6.0/gems/meta-tags-2.12.0/lib/meta_tags/controller_helper.rb" line 22 in render
47
File "/app/vendor/bundle/ruby/2.6.0/gems/turbolinks_render-0.9.15/lib/turbolinks_render/rendering.rb" line 8 in render
48
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/implicit_render.rb" line 35 in default_render
49
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/basic_implicit_render.rb" line 6 in block in send_action
50
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/basic_implicit_render.rb" line 6 in tap
51
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/basic_implicit_render.rb" line 6 in send_action
52
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/abstract_controller/base.rb" line 196 in process_action
53
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/rendering.rb" line 30 in process_action
54
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/abstract_controller/callbacks.rb" line 42 in block in process_action
55
File "/app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/callbacks.rb" line 135 in run_callbacks
56
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/abstract_controller/callbacks.rb" line 41 in process_action
57
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/rescue.rb" line 22 in process_action
58
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/instrumentation.rb" line 33 in block in process_action
59
File "/app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/notifications.rb" line 180 in block in instrument
60
File "/app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/notifications/instrumenter.rb" line 24 in instrument
61
File "/app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/notifications.rb" line 180 in instrument
62
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/instrumentation.rb" line 32 in process_action
63
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal/params_wrapper.rb" line 245 in process_action
64
File "/app/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/railties/controller_runtime.rb" line 27 in process_action
65
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/abstract_controller/base.rb" line 136 in process
66
File "/app/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/rendering.rb" line 39 in process
67
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal.rb" line 191 in dispatch
68
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_controller/metal.rb" line 252 in dispatch
69
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/routing/route_set.rb" line 51 in dispatch
70
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/routing/route_set.rb" line 33 in serve
71
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/journey/router.rb" line 49 in block in serve
72
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/journey/router.rb" line 32 in each
73
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/journey/router.rb" line 32 in serve
74
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/routing/route_set.rb" line 837 in call
75
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
76
File "/app/vendor/bundle/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb" line 192 in call!
77
File "/app/vendor/bundle/ruby/2.6.0/gems/omniauth-1.9.0/lib/omniauth/strategy.rb" line 169 in call
78
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
79
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/rack/agent_hooks.rb" line 30 in traced_call
80
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
81
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/rack/browser_monitoring.rb" line 32 in traced_call
82
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
83
File "/app/vendor/bundle/ruby/2.6.0/gems/warden-1.2.8/lib/warden/manager.rb" line 36 in block in call
84
File "/app/vendor/bundle/ruby/2.6.0/gems/warden-1.2.8/lib/warden/manager.rb" line 34 in catch
85
File "/app/vendor/bundle/ruby/2.6.0/gems/warden-1.2.8/lib/warden/manager.rb" line 34 in call
86
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
87
File "/app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/tempfile_reaper.rb" line 15 in call
88
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
89
File "/app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/etag.rb" line 25 in call
90
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
91
File "/app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/conditional_get.rb" line 25 in call
92
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
93
File "/app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/head.rb" line 12 in call
94
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
95
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/http/content_security_policy.rb" line 18 in call
96
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
97
File "/app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/session/abstract/id.rb" line 232 in context
98
File "/app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/session/abstract/id.rb" line 226 in call
99
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
100
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/cookies.rb" line 648 in call
101
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
102
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/callbacks.rb" line 27 in block in call
103
File "/app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/callbacks.rb" line 101 in run_callbacks
104
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/callbacks.rb" line 26 in call
105
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
106
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/actionable_exceptions.rb" line 17 in call
107
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
108
File "/app/vendor/bundle/ruby/2.6.0/gems/rollbar-2.22.1/lib/rollbar/middleware/rails/rollbar.rb" line 25 in block in call
109
File "/app/vendor/bundle/ruby/2.6.0/gems/rollbar-2.22.1/lib/rollbar.rb" line 145 in scoped
110
File "/app/vendor/bundle/ruby/2.6.0/gems/rollbar-2.22.1/lib/rollbar/middleware/rails/rollbar.rb" line 22 in call
111
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
112
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/debug_exceptions.rb" line 32 in call
113
File "/app/vendor/bundle/ruby/2.6.0/gems/rollbar-2.22.1/lib/rollbar/middleware/rails/show_exceptions.rb" line 22 in call_with_rollbar
114
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
115
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/show_exceptions.rb" line 33 in call
116
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
117
File "/app/vendor/bundle/ruby/2.6.0/gems/turbolinks_render-0.9.15/lib/turbolinks_render/middleware.rb" line 77 in call
118
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
119
File "/app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.0/lib/rails/rack/logger.rb" line 38 in call_app
120
File "/app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.0/lib/rails/rack/logger.rb" line 26 in block in call
121
File "/app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/tagged_logging.rb" line 80 in block in tagged
122
File "/app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/tagged_logging.rb" line 28 in tagged
123
File "/app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/tagged_logging.rb" line 80 in tagged
124
File "/app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.0/lib/rails/rack/logger.rb" line 26 in call
125
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
126
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/remote_ip.rb" line 81 in call
127
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
128
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/request_id.rb" line 27 in call
129
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
130
File "/app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/method_override.rb" line 22 in call
131
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
132
File "/app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/runtime.rb" line 22 in call
133
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
134
File "/app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/cache/strategy/local_cache_middleware.rb" line 29 in call
135
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
136
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/executor.rb" line 14 in call
137
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
138
File "/app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/deflater.rb" line 34 in call
139
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
140
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/static.rb" line 126 in call
141
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
142
File "/app/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/sendfile.rb" line 111 in call
143
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
144
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/ssl.rb" line 74 in call
145
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
146
File "/app/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/host_authorization.rb" line 77 in call
147
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
148
File "/app/vendor/bundle/ruby/2.6.0/gems/rack-cors-1.0.3/lib/rack/cors.rb" line 95 in call
149
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
150
File "/app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.0/lib/rails/engine.rb" line 526 in call
151
File "/app/vendor/bundle/ruby/2.6.0/gems/newrelic_rpm-6.6.0.358/lib/new_relic/agent/instrumentation/middleware_tracing.rb" line 99 in call
152
File "/app/vendor/bundle/ruby/2.6.0/gems/puma-4.2.0/lib/puma/configuration.rb" line 228 in call
153
File "/app/vendor/bundle/ruby/2.6.0/gems/puma-4.2.0/lib/puma/server.rb" line 670 in handle_request
154
File "/app/vendor/bundle/ruby/2.6.0/gems/puma-4.2.0/lib/puma/server.rb" line 473 in process_client
155
File "/app/vendor/bundle/ruby/2.6.0/gems/puma-4.2.0/lib/puma/server.rb" line 331 in block in run
156
File "/app/vendor/bundle/ruby/2.6.0/gems/puma-4.2.0/lib/puma/thread_pool.rb" line 134 in block in spawn_thread

README misses documentation about how to override redcarpet options

Redcarpet can be configured to e.g. highlight indented code blocks (which is actually the default). emds default options are fine, but might need changes for specific needs (e.g. I want to highlight indented code blocks).
It suffices to create a config/initializers/markdown_template_handler.rb override, which should be mentioned in the README.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.