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
0
votes
2 answers

Issue Creating Fenced Code Blocks in Jekyll using GFM

I am trying to create some fenced in code blocks on my gh-pages blog, but I am encountering some issues. This is within my _config.yml #Stuff I have added highlight: rouge markdown: kramdown kramdown: input: GFM highlighter: rouge Now I am…
0
votes
2 answers

Markdown doesn't like HTML/CSS columns?

Since there isn't a way to natively write with columns in Markdown, I naturally turned to HTML/CSS for a website I'm working on. After reading this question, I implemented my columns, and threw some paragraphs in. However, I noticed upon…
user7851115
0
votes
1 answer

Jekyll fenced code block kramdown issue

I'm struggling with fenced code blocks highlighting. Could you help me to sort out what am I doing wrong? Code highlighting works well when I use liquid tags: {% highlight lang %}{% endhighlight %}, but this approach breaks lists (it's a known…
0
votes
1 answer

Integrating column support into markdown in Jekyll framework

I'd like to add functionality for dynamic columning, similar to a bootstrap grid system, in text posts within a Jekyll blog (which comes with kramdown by default). Ideally this would be done easily in markdown posts. I found this github project that…
SF Liu
  • 37
  • 1
  • 3
0
votes
0 answers

MathJax doesn't typeset two subscript-superscript combinations in a row

I am at a loss in finding a more compact MWE, but MathJax 2.7.1 in Markdown with Jekyll and the Kramdown parser somehow typesets this with no problem: ${\langle s_j' \rangle}_{j=1}^{m-1}$ But when I place it two times in a row, it does not get…
Konrad Höffner
  • 11,100
  • 16
  • 60
  • 118
0
votes
1 answer

Middleman: undefined method `link_to' when rendering markdown from data file

I am using Markdown written in data file to render HTML in HAML template with Middleman static page generator. My data file, data/faq.yaml looks like this: dog: question: I want to know more about a dog. answerA: (HTML in data) Just
Rafal
  • 864
  • 10
  • 21
0
votes
2 answers

Limit kramdown automatic generation of header IDs up to i.e.,

Is it possible to limit kramdown automatic generation of header IDs up to, i.e., ? More information in docs: https://kramdown.gettalong.org/converter/html.html#auto-ids
curious
  • 791
  • 2
  • 12
  • 27

0
votes
1 answer

How to put colon in a Jekyll/Kramdown post title?

The title of my Jekyll/Kramdown post contains a colon --- layout: post title: abc : def --- and the page fails to generate. According to this answer, I should replace the colon by :, so I did that. In the preview on Github it showed correctly…
user7843034
  • 429
  • 4
  • 8
0
votes
1 answer

Jekyll/Kramdown image location in file system

I'm using Jekyll with Kramdown on Github, and I want to insert an image in my page. So I use ![img1](img1.jpg) and include img1.jpg in the folder _posts The generated HTML is

img1

but then the link…
user7843034
  • 429
  • 4
  • 8
0
votes
1 answer

Kramdown use on CLI

I use Ubuntu 16.04 and I installed kramdown. As I see here: Retain HTML Entities When Parsing Markdown it seems that I can test kramdown directly in the CLI. If I write kramdown it prompt me for a text imput, but how I can "tell" to the CLI "ok I…
pinguinone
  • 433
  • 1
  • 6
  • 14
0
votes
1 answer

Jekyll/kramdown not formatting scala correctly

I am trying to contribute some documentation to an open source project, so I'm trying to locally preview the documentation pages, which are part of a github website. But, my code blocks are not being formatted correctly. I have created a minimal…
T Burnside
  • 121
  • 6
0
votes
1 answer

Jekyll with kramdown: How to use in table cell

Using Jekyll with kramdown, how do I add a hyperlink (with target="_blank") to text within a table cell? (I want to open a certain webpage when someone clicks text in a table cell.) Update: As I was writing this question, I found the answer on…
0
votes
1 answer

How to automatically style HTML output of kramdown converter?

I'm writing notes in kramdown, then using the kramdown converter to get an html file to read locally (not on a server). $ kramdown notes.txt > notes.html My workflow is to continually update notes.txt, then render notes.html quickly to view it. I…
rorty
  • 123
  • 3
0
votes
1 answer

Strikethrough Text in a Merea-Frameowrk Site?

Strikethrough doesn't work for me in a morea framework markdown page, e.g., ~~Strikethrough~~ is presented with the raw tildes. I see here that this was already fixed in kramdown (the markdown engine used in morea). Should I update kramdown? how…
robi-y
  • 1,687
  • 16
  • 25
0
votes
1 answer

Jekyll Now blog text align

How can I make a text justified in Jekyll Now in the simplest way? I have tried {: .text-justify}, but isn't working.
plaidshirt
  • 5,189
  • 19
  • 91
  • 181