Skip to content

Fix inline code styling #246

Description

@aatmanvaidya

In Markdown, Triple backticks are used to define code blocks, It’s used to display longer sections of code or multi-line code snippets. Below is an example of an code block in markdown

def hello():
    print("Hello, world!")

and here is how you define codeblocks in markdown

```python
def hello():
    print("Hello, world!")

and Single Backticks (``) are used to define in-line code blocks. Example - This is inline code in Markdown.

In the website codebase, we have defined components to add style and design for codeblocks and inline codeblocks

The task for this issue is to fix a bug that occurs when defining an in-line code block in an MDX blog file. Instead of appearing inline, it is rendered as a code block (see below image). The goal is to ensure that inline code blocks are displayed correctly.

Image

Metadata

Metadata

Assignees

No one assigned

    Type

    Fields

    Effort

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions