Details
-
Feature
-
Resolution: None
-
High
-
None
-
None
-
None
Description
Goal:
It's a developer blog, so the editor wants to share code examples.
Technical
The custom tag is not available yet. So we'll use the "embed' feature.
We'll embed some objects in the blog post.
The syntax highlighter will be http://prismjs.com/
Content Type
Code
- Name: Code
- Identifier: code
- Object name pattern: <title>
- Container: yes
- Default sorting of children: Published / Descending
Fields: - Title (text line, identifier: title, is required)
- Code (text block, identifier: code)
- Language (selection, identifier: language, is required)
- markup
- css
- javascript
- bash
- docker
- git
- java
- nginx
- php
- puppet
- python
- react JSX
- sql
- twig
- typescript
- yaml
(All languages: http://prismjs.com/#languages-list. feel free to add some languages)
Attachments
Issue Links
- relates to
-
COM-19916 Implement the Blog Post full view
- Closed