Project

General

Profile

Actions

Bug #5507

open

Markdown rendering needs improvement

Added by Arun Chandrasekaran almost 6 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
25.10.2018
Due date:
% Done:

0%

Estimated time:
Sorting:
Commit Number:
Affected Version:

Description

Look at the ReadMe of this repo: https://github.com/AlexAltea/unicorn.js

Screenshot from GitHub

[](blob:https://imgur.com/8f61d3f0-4ac5-4b5d-b3f3-a005d23f2b7b)

Screenshot from RhodeCode

[](blob:https://imgur.com/1a495386-dc4f-4a81-b824-8307185dfe0b)

Fonts can be improved, fixed width fonts need to be used for code snippets and not regular fonts. Syntax can be more appealing as well.

Actions #1

Updated by Arun Chandrasekaran almost 6 years ago

asdad

Arun Chandrasekaran wrote:

Look at the ReadMe of this repo: https://github.com/AlexAltea/unicorn.js

Screenshot from GitHub

[](blob:https://imgur.com/8f61d3f0-4ac5-4b5d-b3f3-a005d23f2b7b)

Screenshot from RhodeCode

[](blob:https://imgur.com/1a495386-dc4f-4a81-b824-8307185dfe0b)

Fonts can be improved, fixed width fonts need to be used for code snippets and not regular fonts. Syntax can be more appealing as well.

RC view here:

Actions #2

Updated by Daniel D almost 6 years ago

  • Status changed from New to In Progress

This should be resolved once we deploy fonts update.

Actions #3

Updated by Arun Chandrasekaran almost 6 years ago

Daniel D wrote:

This should be resolved once we deploy fonts update.

Can you paste the new screenshot of this repo please? https://github.com/AlexAltea/unicorn.js

Actions #4

Updated by Arun Chandrasekaran almost 6 years ago

The current changes look better. Few more improvements can be done:

  1. Rendering of bullets and numbering can be improved.
  2. Remove "!imporant" attributes from CSS. It prevents the users from overriding via custom headers.
  3. Optionally, bigger font size in the Markdown output when compared to the rest of the screen. That will make the docs easier to read. At present the font-size in the markdown output is small than the rest of the screen. It makes the UI look inconsistent.

See the current UI:

Actions #5

Updated by Arun Chandrasekaran almost 6 years ago

GitHub flavoured Markdown has issues with rendering.

This

- [x] status1
- [ ] status2

turns into this:

Actions #6

Updated by Redmine Integration over 5 years ago

Commit aeca5dece654 by Marcin Kuzminski marcin@rhodecode.com on default branch references this issue.
https://code.rhodecode.com/rhodecode-enterprise-ce/changeset/aeca5dece6544037c3dae7a7adee7c54def09dc1

Actions #7

Updated by Arun Chandrasekaran about 5 years ago

The new markdown renderer in 4.17.2 is very nice. However it still got some issues.

The following pre snippet doesn't get rendered properly.

The resulting tree structure will look like this:

    ```
    C:\DevEnv\libcurl>tree /F
    Folder PATH listing for volume Windows
    Volume serial number is 484C-4035
    C:.
    ├───bin
    │       curl.exe
    │       libcurl.dll
    │
    ├───include
    │   └───curl
    │           curl.h
    │           curlver.h
    │           easy.h
    │           mprintf.h
    │           multi.h
    │           stdcheaders.h
    │           system.h
    │           typecheck-gcc.h
    │
    └───lib
            libcurl.dll
            libcurl.exp
            libcurl.lib
            libcurl.pdb
    ```

Actions #8

Updated by Marcin Kuzminski [CTO] about 5 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF