Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support for Inline <code> Blocks and Fenced code block #11

Closed
bhavik001 opened this issue Sep 29, 2023 · 1 comment
Closed

Add Support for Inline <code> Blocks and Fenced code block #11

bhavik001 opened this issue Sep 29, 2023 · 1 comment

Comments

@bhavik001
Copy link
Owner

bhavik001 commented Sep 29, 2023

Description:

  • I need to enhance my application's Markdown rendering engine to support inline <code> blocks and fenced <code> blocks. Currently, enclosing text in a single backtick (`) and 3 backticks(```) doesn't render it as code, but I want it to be displayed as <code>...text...</code> in the HTML output.

Steps to Implement:

  • Implement the functionality to render inline <code> blocks by enclosing text in a single backtick (`) and rendering it as <code>...text...</code>.
  • Implement support for fenced code blocks by detecting triple backticks (```) and wrapping the content within <pre><code>...</code></pre> tags.
@bhavik001
Copy link
Owner Author

bhavik001 commented Sep 29, 2023

close by 525e313

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant