diff --git a/.idea/elm-pages.iml b/.idea/elm-pages.iml
new file mode 100644
index 00000000..d6ebd480
--- /dev/null
+++ b/.idea/elm-pages.iml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
new file mode 100644
index 00000000..97626ba4
--- /dev/null
+++ b/.idea/encodings.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 00000000..feff95d0
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 00000000..bad6947d
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 00000000..35eb1ddf
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
new file mode 100644
index 00000000..51e9228c
--- /dev/null
+++ b/.idea/workspace.xml
@@ -0,0 +1,178 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1566884274961
+
+
+ 1566884274961
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/elm-package/src/Pages.elm b/elm-package/src/Pages.elm
index 38e978ab..731b74fd 100644
--- a/elm-package/src/Pages.elm
+++ b/elm-package/src/Pages.elm
@@ -1,4 +1,4 @@
-module Pages exposing (Flags, Parser, Program, application, cliApplication)
+module Pages exposing (Flags, Model, Msg, Parser, Program, application, cliApplication)
import Browser
import Browser.Navigation
diff --git a/examples/docs/.idea/docs.iml b/examples/docs/.idea/docs.iml
new file mode 100644
index 00000000..d6ebd480
--- /dev/null
+++ b/examples/docs/.idea/docs.iml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/examples/docs/.idea/encodings.xml b/examples/docs/.idea/encodings.xml
new file mode 100644
index 00000000..97626ba4
--- /dev/null
+++ b/examples/docs/.idea/encodings.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/examples/docs/.idea/misc.xml b/examples/docs/.idea/misc.xml
new file mode 100644
index 00000000..feff95d0
--- /dev/null
+++ b/examples/docs/.idea/misc.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/examples/docs/.idea/modules.xml b/examples/docs/.idea/modules.xml
new file mode 100644
index 00000000..6049cfe0
--- /dev/null
+++ b/examples/docs/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/examples/docs/.idea/vcs.xml b/examples/docs/.idea/vcs.xml
new file mode 100644
index 00000000..b2bdec2d
--- /dev/null
+++ b/examples/docs/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/examples/docs/.idea/workspace.xml b/examples/docs/.idea/workspace.xml
new file mode 100644
index 00000000..5c245b0f
--- /dev/null
+++ b/examples/docs/.idea/workspace.xml
@@ -0,0 +1,221 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1566883544577
+
+
+ 1566883544577
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/examples/docs/src/Main.elm b/examples/docs/src/Main.elm
index 68ea6dab..9abf49ac 100644
--- a/examples/docs/src/Main.elm
+++ b/examples/docs/src/Main.elm
@@ -1,6 +1,4 @@
-port module Main exposing (main)
-
--- import MarkParser
+module Main exposing (main)
import Color
import Dict
@@ -41,7 +39,12 @@ manifest =
}
-main : Pages.Program Model Msg (Metadata Msg) (List (Element Msg))
+
+--main : Pages.Program Model Msg (Metadata Msg) (List (Element Msg))
+-- the intellij-elm plugin doesn't support type aliases for Programs so we need to use this line
+
+
+main : Platform.Program Pages.Flags (Pages.Model Model Msg (Metadata Msg) (List (Element Msg))) (Pages.Msg Msg (Metadata Msg) (List (Element Msg)))
main =
PagesNew.application
{ init = init