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 8917449
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T05:29:08+00:00 2026-06-15T05:29:08+00:00

I have a README.md markdown file that I use to describe a project that

  • 0

I have a README.md markdown file that I use to describe a project that is hosted on GitHub. Within this file I have several headlines and sub-headlines, each starting with one or more hashes, as usual in markdown.

Now I want to set the text of one headline to C#, but GitHub does not respect the hash a part of the text, but interprets it as an (optional) closing hash for the headline.

Even if I escape the hash by prefixing it with a backslash, it does not work. So if I type

## C#

I get:

C

If I use

## C\#

I get:

C\

How do I write this head-line in a correct way?

  • 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-15T05:29:09+00:00Added an answer on June 15, 2026 at 5:29 am

    Method 1

    You could use a true sharp sign, ♯, instead of the hash sign, #. From the Wikipedia page on C♯:

    By convention, a hash sign is used for the second character in normal text; in artistic representations, sometimes a true sharp sign is used: C♯.

    Here ## C♯ produces

    C♯

    Method 2

    Alternatively, (at least on this site) just put a space after the last #, for example ## C\# produces

    C#

    Note that Pandoc seems to handle # C\# correctly (try it).

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

Sidebar

Related Questions

I've authored the README file in my Perl module in Markdown. Github treats this
I have one file in my project, (the readme file,) which I would like
I have a file - say readme.txt that I want to copy or insert
I have the following .gitignore file *.pyc project/app/dist/* project/bin/* project/etc/* project/var/* !README.txt So far
I have a library with a layout like this in Github: README setup.py src/
In README file of omniORBpy-3.4 is written that I have to set PYTHONPATH as
I've noticed some GitHub projects have not only a README file, but also a
I have downloaded this code; http://www.cs.sfu.ca/%7Emori/research/superpixels/superpixels64.tar.gz In the readme file, it says; Run mex
I've decided to convert the README file in a project of mine to markdown
Let's say I have a project like that: (dev dir) - README - INSTALL

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.