---
id: 6873
title: 'Portal.view.learn.ContentComponent: smarter content formatting'
state: CLOSED
labels:
  - enhancement
assignees: []
createdAt: '2025-06-26T11:46:46Z'
updatedAt: '2025-06-26T12:07:58Z'
githubUrl: 'https://github.com/neomjs/neo/issues/6873'
author: tobiu
commentsCount: 1
parentIssue: null
subIssues: []
subIssuesCompleted: 0
subIssuesTotal: 0
blockedBy: []
blocking: []
closedAt: '2025-06-26T12:07:58Z'
---
# Portal.view.learn.ContentComponent: smarter content formatting

* While using custom pre tags works fine inside the Portal App, it looks awful when browsing on GitHub.
* We need new regexes based on 3 backticks plus language.

## Timeline

- 2025-06-26T11:46:48Z @tobiu added the `enhancement` label
- 2025-06-26T11:47:07Z @tobiu referenced in commit `1ca08b7` - "Portal.view.learn.ContentComponent: smarter content formatting #6873"
### @tobiu - 2025-06-26T11:47:27Z

Current state:

<img width="1267" alt="Image" src="https://github.com/user-attachments/assets/702dabc5-1a95-4ba1-abe1-2d669c095203" />

- 2025-06-26T12:06:37Z @tobiu referenced in commit `0aebd47` - "#6873 replaced all pre tags inside the learning content"
- 2025-06-26T12:07:58Z @tobiu closed this issue

