Giter Site home page Giter Site logo

blog-flask's Introduction

Current Work

✔️ Correct Data output from article.py
➖ Jinja2 Code, list to Jinja div
✔️ CSS
➖ Heroku Push
➖ More formatting maybe this?
➖ More comments
➖ Clean CSS
➖ Sleep

Current Issues

Old Reference Site

README

Goal of this program is to make creating blog really simple, mainly for individuals who used to Reddit and Discord markdown.

Turn something like this

```h1
more stuff
**bolded stuff**
```

into

<h1>more stuff</h1>
<strong>bolded stuff</strong>

Old Program

Old Program was created with JS and has multiple libraries that are depreciated. The code is also clunky and spaghetti like. Important files are:

New Program

So far I have ported the markup engine I created and I need it be rendered by jinja2. The data is correct and needs to be read by jinja. Articles are basically the same, date and title have been changed a bit but the markup is the same.

Why?

I decided to use Jinja2 and Flask because it is dynamic and can be used with mySQL and Heroku. The static page was using depreciated libraries.

blog-flask's People

Contributors

wcrum avatar

Watchers

James Cloos avatar

blog-flask's Issues

Evaluating Element Markup not Working

When passing element data font markup is not being evaluated...

Blog.articles
('elem', 'h1', 'A <strong>backpacking</strong> blog ')
A <strong>backpacking</strong> blog
{% for item in article['content'] %}
	{% if item[0] == 'elem' %}
		<{{item[1]}}>{{item[2]}}</{{item[1]}}>
	{% endif %}
{% endfor %}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.