Open vincentcouvert opened 1 year ago
Reference issue on GitLab side: https://gitlab.com/gitlab-org/gitlab/-/issues/377795
Reference issue on Scilab side: https://gitlab.com/scilab/scilab/-/issues/16895
{% highlight ruby linenos %}
def foo
puts 'foo'
end
{% endhighlight %}
@y377 what do you mean?
Sorry, I just want to try code highlighting, it turns out that GitHub does not support this way of defining code blocks
Do you support this way of defining code blocks? Because it is very convenient to write in the markdown editor, because it is suitable for non-code developers to use!
@y377 I think your question is not related to this issue (which is about Scilab language support).
See corresponding PR : https://github.com/rouge-ruby/rouge/pull/1916
Hi all, Please find below information related to the development of a Scilab parser in Rouge. Best regards.
The name of the language Scilab: https://www.scilab.org/ Online help: https://help.scilab.org/
Implementation in other libraries Pygments: https://pygments.org/docs/lexers/#pygments.lexers.matlab.ScilabLexer Chroma: https://github.com/alecthomas/chroma/blob/master/lexers/embedded/scilab.xml Highlight: https://github.com/highlightjs/highlight.js/blob/main/src/languages/scilab.js
Additional context GitLab uses Rouge to detect language used in files and GitLab is now the official Scilab development platform. Having this feature in Rouge would simplify the reading of Scilab code in repository, issues, wiki, ...