Project

General

Profile

Bug #5507

Markdown rendering needs improvement

Added by Arun Chandrasekaran 12 months ago. Updated about 2 months 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.

History

#1 Updated by Arun Chandrasekaran 12 months 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:

#2 Updated by Daniel D 12 months ago

  • Status changed from New to In Progress

This should be resolved once we deploy fonts update.

#3 Updated by Arun Chandrasekaran 12 months 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

#4 Updated by Arun Chandrasekaran 11 months 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:

#5 Updated by Arun Chandrasekaran 11 months ago

GitHub flavoured Markdown has issues with rendering.

This

- [x] status1
- [ ] status2

turns into this:

#6 Updated by Redmine Integration 8 months ago

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

#7 Updated by Arun Chandrasekaran 3 months 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
    ```

#8 Updated by Marcin Kuzminski [staff] about 2 months ago

  • Status changed from In Progress to Resolved

Also available in: Atom PDF