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

Expand HtmlTemplate's Markdown Function #2

Open
billstclair opened this issue Mar 27, 2017 · 1 comment
Open

Expand HtmlTemplate's Markdown Function #2

billstclair opened this issue Mar 27, 2017 · 1 comment

Comments

@billstclair
Copy link
Owner

Defining pages with JSON is already getting very old. WIth a little more work, a can add to the "#md" macro links, images, and lists. That will be enough to convert the bulk of the site as it is now to plain Markdown.

Then add automatic determination of whole page format. This could use the file suffix, but I don't want the address bar to show xosbow.com/about.md, so it needs to be determined by the content of the page. Maybe if it starts with "{" or "[", its JSON, and otherwise it's Markdown.

@billstclair
Copy link
Owner Author

Also, switch to using the HtmlTemplate.PlayDiv module instead of running a copy of that code in Xossbow.elm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant