Bug #5507
openMarkdown rendering needs improvement
0%
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.
Updated by Arun Chandrasekaran about 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:
Updated by Daniel D about 6 years ago
- Status changed from New to In Progress
This should be resolved once we deploy fonts update.
Updated by Arun Chandrasekaran about 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
Updated by Arun Chandrasekaran about 6 years ago
The current changes look better. Few more improvements can be done:
- Rendering of bullets and numbering can be improved.
- Remove "!imporant" attributes from CSS. It prevents the users from overriding via custom headers.
- 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:
Updated by Arun Chandrasekaran about 6 years ago
GitHub flavoured Markdown has issues with rendering.
This
- [x] status1
- [ ] status2
turns into this:
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
Updated by Arun Chandrasekaran over 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
```
Updated by Marcin Kuzminski [CTO] over 5 years ago
- Status changed from In Progress to Resolved