Skip to content

Add a code tag to the markup #122

@zainab-ali

Description

@zainab-ali

Some speakers have small inline code snippets in their abstracts. These are usually references to Scala classes.
For example, Jacob’s abstract references ExecutionContext and cats.effect.Timer.

We should support these through a code datatype that is converted into a html tag.

Potential Solution

This involves:

  • Adding a new markup datatype for Code in the protocol
  • Adding a decoder for this markup to the decoders. It should be similar to the strong decoder
  • Rendering the code html tag on the frontend.
  • Updating the meetup template with an example of how to use it.

Tests

Take a look at the tests for the strong decoder

Prerequisites

You should be reasonably familiar with html and basic Scala algebraic datatypes (case classes and sealed traits).

You will need to touch some fairly advanced functional patterns in the decoder, but you’ll be making very small changes.

What you'll learn

  • How to work with monad transformers
  • The basics of ScalaJS React

Getting started

Read our Contributor Guide to get set up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions