kpumuk commented on code in PR #14:
URL: https://github.com/apache/thrift-website/pull/14#discussion_r3102998667


##########
_plugins/remote_snippets.rb:
##########
@@ -42,13 +42,14 @@ def render(context)
     end
     snippet_type = "snippet"
     if @type == "direct"
-      content = Kramdown::Document.new(content).to_html
+      content = context.registers[:site]
+        .find_converter_instance(Jekyll::Converters::Markdown)
+        .convert(content.to_s)

Review Comment:
   It is the default processor, but Jekyll also allows to configure it. I feel 
like having the same exact parser we use for other markdown pages would be 
beneficial for consistency.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to