Questions tagged [kramdown]

kramdown (sic, not Kramdown or KramDown, just kramdown) is a free MIT-licensed Ruby library for parsing and converting a superset of Markdown. It is completely written in Ruby, supports standard Markdown (with some minor modifications) and various extensions that have been made popular by the PHP Markdown Extra package and Maruku.

kramdown (sic, not Kramdown or KramDown, just kramdown) is a free MIT-licensed Ruby library for parsing and converting a superset of Markdown. It is completely written in Ruby, supports standard Markdown (with some minor modifications) and various extensions that have been made popular by the PHP Markdown Extra package and Maruku.

More Details

202 questions
8
votes
2 answers

Jekyll doesn't render Markdown when adding HTML

I have this markdown code in a Markdown file. It has inline HTML. --- layout: page title: About This Website permalink: /about/ --- This website is built with , [Jekyll](https://jekyllrb.com/),…
user2486953
7
votes
3 answers

Jekyll: Place the kramdown table of contents in an _include for hash navigation

I want to introduce hash links to the headings of a page into the menu of a web page. The web page is generated with Jekyll and it's default layout looks as follows: {% include head.html %} {% include…
Rovanion
  • 4,382
  • 3
  • 29
  • 49
6
votes
1 answer

Background highlight text in a code block?

My goal is to be able to display something like this: I want to background highlight a piece of code inside a code block that already has syntax highlighting. I want to do this on a markdown file I have on Github that is hosted on Github Pages (can…
Geoff Huang
  • 107
  • 1
  • 6
6
votes
3 answers

Why do I get a double frame around markdown code block on Jekyll site?

I am using markdown to create posts for a Jekyll blog with the Jekyll-Now theme, hosted on GitHub Pages. I am highlighting code using fenced code blocks (with three back ticks) and when posted, the code block displays with a double frame. I would…
aceace
  • 59
  • 2
6
votes
2 answers

Suppress blog footer in Jekyll/Kramdown

I'm using Jekyll with Kramdown on Github. The title of my blog, which I put in _config.yml, appears in the header of the page but also twice in the footer. I would like to suppress the two appearances in the footer. Is there anyway to do this?
user7843034
  • 429
  • 4
  • 8
6
votes
2 answers

Multi-line blockquote without blank line

This should be ridiculously easy but either I am not reading the documentation correctly or Kramdown doesn't support this. I am trying to put command-line output in a blog post, I am wanting to use a blockquote for this. However, kramdown insists on…
Michael
  • 2,683
  • 28
  • 30
6
votes
3 answers

Prevent line-wraps of code blocks using jekyll, kramdown, and rouge

Using kramdown and rouge for markdown syntax-highlighting in a jekyll blog, I'd like to prevent long lines of code from wrapping onto a new line. I'd like to be able to use a horizontal scrollbar to reveal the rest of the content. Here is the jekyll…
s2t2
  • 2,462
  • 5
  • 37
  • 47
5
votes
1 answer

Content of collapsible sections (
...) renders markdown in GitHub repo but not on GitHub Pages

On the GitHub repo the README, the markdown inside the collapsible section renders as desired. But on GitHub Pages the markdown is not rendered, just literal. The _config.yml is essentially empty. In the issue is mentioned Markdown inside and …
Adam Bittlingmayer
  • 1,169
  • 9
  • 22
5
votes
3 answers

Jekyll \ kramdown - add `.table` class to generated tables

Jekyll 3.2.1 + kramdown. I have a theme that uses bootstrap css. Generated s should be decorated with class="table" as bootstrap css requires. I have seen other suggestions to add {: class=table} or {.table} to the markdown table but I really…
itaysk
  • 5,852
  • 2
  • 33
  • 40
5
votes
1 answer

How to use Kramdown in GitLab

I haven't found the instruction how to change GitLab's RedCarpet to Kramdown. on Kramdown I have found how to install it: sudo apt-get install ruby sudo gem install kramdown But the Usage page was absolutly non-understandable for me require…
You Care
  • 488
  • 4
  • 20
5
votes
1 answer

How to use numbered LaTeX equations using kramdown in jekyll

Would it be possible to use equation numbers with the kramdown engine in jekyll? It seems that the previous engine maruku had supported equation numbering. I wanted to use equation numbering and cross-referencing supported by MathJax. I have…
Chang
  • 846
  • 10
  • 23
5
votes
2 answers

Support for adding lazy load for images in Markdown

I'm using kramdown parser to convert markdown to html. I want to use lazy load for images without modifying original markdown syntax. I can achieve this by editing link.rb file in kramdown gems. But I don't want to follow this way. Because if…
Arasu RRK
  • 1,078
  • 16
  • 28
5
votes
1 answer

Kramdown doesn't seem to render checkboxes like in GitHub

It seems Kramdown can recognise Github Flavoured Markdown in Jekyll. But it seems checkboxes that are available in GitHub isn't getting rendered using Kramdown, any ideas why? What I am trying to do: - [ ] Unchecked - [x] Checked This would show up…
Jikku Jose
  • 18,306
  • 11
  • 41
  • 61
4
votes
2 answers

How to disable indented code blocks in Kramdown for use in Jekyll

I want to fully disable indented code blocks for Kramdown as used in Jekyll. I am used to using the backtick method. And my primary reason for disabling indented code blocks is that I use a fair bit of html in a typical post.md, I have provided an…
ercfre
  • 183
  • 9
4
votes
2 answers

Retain HTML Entities When Parsing Markdown

I have exhausted my research and tried many methods to no effect and am hoping I'm overlooking some kind of simple solution: I am using a Jekyll site to produce HTML files for e-mail and need to use HTML entities for special characters (such as…
Drew Albinson
  • 82
  • 1
  • 5
1
2
3
13 14