package io.continuum.bokeh
package widgets

@model abstract class Markup extends Widget

@model class Paragraph extends Markup {
    object text extends Field[String]
}

@model class PreText extends Paragraph

package io.continuum.bokeh
package widgets

@model class Paragraph extends Widget {
    object text extends Field[String]
}

@model class PreText extends Paragraph

--- 
+++ 
@@ -1,7 +1,9 @@
 package io.continuum.bokeh
 package widgets
 
-@model class Paragraph extends Widget {
+@model abstract class Markup extends Widget
+
+@model class Paragraph extends Markup {
     object text extends Field[String]
 }
 
Make Paragraph inherit from Markup
