Skip to content

Instantly share code, notes, and snippets.

View kciesielski's full-sized avatar

Krzysztof Ciesielski kciesielski

View GitHub Profile
@paradigmatic
paradigmatic / Markdown.scala
Last active December 13, 2015 17:58
Markdown string interpolation
package org.streum.interpol
/* Here is the interpolator itself, we just add a method `md`
to the `StringContext` using implicit conversions */
object Markdown {
implicit class MDContext( val context: StringContext ) extends AnyVal {
// I used knockoff markdown processor. I don't have any real experience with
// Struct Store
//
// Version 1: We may have written...
DocumentDatabase db = new DocumentDatabase();
User user = new User();
user.Id = 123;
user.FirstName = ....;
user.LastName = ....;
user.Bio = ....;