Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a code tag to the markup #122

Open
zainab-ali opened this issue Feb 21, 2021 · 1 comment
Open

Add a code tag to the markup #122

zainab-ali opened this issue Feb 21, 2021 · 1 comment
Labels
good first issue Good for newcomers

Comments

@zainab-ali
Copy link
Collaborator

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.

@zainab-ali zainab-ali added the good first issue Good for newcomers label Feb 21, 2021
@TheOnlyIanWood
Copy link

TheOnlyIanWood commented Feb 27, 2021

Looks interesting and I will take a stab at it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants