Uploaded image for project: 'Community Platforms'
  1. Community Platforms
  2. COM-19920

As an editor, I want to be able to embed code examples

    XMLWordPrintable

Details

    • Icon: Feature Feature
    • Resolution: None
    • Icon: High High
    • None
    • None
    • ezplatform.com
    • 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

        Activity

          People

            rafal.toborek-obsolete@ez.no RafaƂ Toborek (Inactive)
            sylvain.guittard@ibexa.co Sylvain Guittard
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: