Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8929105
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T08:36:02+00:00 2026-06-15T08:36:02+00:00

Is it possible to create a span element with markdown? I’m using the Kramdown

  • 0

Is it possible to create a span element with markdown? I’m using the Kramdown converter.

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T08:36:03+00:00Added an answer on June 15, 2026 at 8:36 am

    According to the Markdown syntax spec/documentation, you should be able to use a plain HTML <span> element. Additionally, the Kramdown documentation has an entire section on using HTML elements in general, and <span> in particular.

    From Kramdown’s docs:

    HTML tags cannot only be used on the block-level but also on the
    span-level. Span-level HTML tags can only be used inside one
    block-level element, it is not possible to use a start tag in one
    block level element and the end tag in another. Note that only correct
    XHTML is supported! This means that you have to use, for example, <br/>
    instead of <br> (although kramdown tries to fix such errors if
    possible).

    By default, kramdown parses kramdown syntax inside span HTML tags.
    However, this behaviour can be configured with the parse_span_html
    option. If this is set to true, then syntax parsing in HTML spans is
    enabled, if it is set to false, parsing is disabled. It is also
    possible to enable/disable syntax parsing on a tag per tag basis using
    the markdown attribute:

    • If an HTML tag has an attribute markdown="0", then no parsing (except parsing of HTML span tags) is done inside that HTML tag.

    • If an HTML tag has an attribute markdown="1", then the content of the tag is parsed as span level elements.

    • If an HTML tag has an attribute markdown="block", then a warning is issued because HTML spans cannot contain block-level elements and
      the attribute is ignored.

    • If an HTML tag has an attribute markdown="span", then the content of the tag is parsed as span level elements.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: How to put span element inside ActionLink MVC3? How to create custom
Possible Duplicate: Create an Array of the Last 30 Days Using PHP I am
Is it possible, using jQuery, to find out the type of an element with
Is possible create an extension for SQL Management Studio in Visual Studio 2010? Visual
Hi it'd like to know if it's at all possible create a parametric equalizer
Possible Duplicate: Create provisioning profile in iphone application i developed my iphone app and
Possible Duplicate: Create event handler for OnScroll for web browser control I would like
Possible Duplicate: Create an alert on any view controller after Facebook request:didFailWithError: I have
Possible Duplicate: Create Excel file in Java How to save output in excel format
Possible Duplicate: Create shortcut to console.log() In javascript we can easy assign functions to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.