Skip to content

Markdown styling adjustments #345

Closed
@moT01

Description

@moT01
Contributor

Not sure if you have some css that is affecting the markdown styles or what. But there's a few things that aren't displaying quite like I would expect.

New paragraphs don't have an empty line/space. And tables don't have any borders, background, etc...

Markdown:
Screen Shot 2020-05-17 at 2 57 21 PM

CodeRoad:
Screen Shot 2020-05-17 at 2 57 05 PM

This table doesn't look too bad, but other ones with large amounts of data look rough. I could probably find a way to put empty lines in the paragraphs if I need to.

Bold letters are pretty subtle:
Screen Shot 2020-05-17 at 7 45 37 PM
^ the c is bold

Activity

ShMcK

ShMcK commented on May 18, 2020

@ShMcK
Member

CodeRoad is currently using markdown-it. It has some limitations, but can probably be configured to support tables.

  • tables

The example in the Markdown-it docs looks like what you've written and says it's enabled by default. Maybe a css issue on my end.

| First Header  | Second Header |
| ------------- | ------------- |
| Content Cell  | Content Cell  |
| Content Cell  | Content Cell  |
  • text formatting (eg. bold)

Likely CSS related, will also take a look.


As a backup, I've been looking forward to exploring MDX (#242). But may take some time to configure. MDX is much more configurable, allowing you to even add React components to the markdown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    Participants

    @ShMcK@moT01

    Issue actions

      Markdown styling adjustments · Issue #345 · coderoad/coderoad-vscode