-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Add materials for the Code Image Generator tutorial #411
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@acsany Hey!
I flagged a few details in the steps. It'd be nice to fully check the code with the article.
I typically create the step folders once I finish the TR updates. At this point, it should be a matter of following the article.
{% extends "base.html" %} | ||
{% block title %} | ||
- Code Input | ||
{% endblock title %} | ||
{% block content %} | ||
{% endblock content %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can add the spaces to match the code in the article.
) | ||
|
||
app = Flask(__name__) | ||
app.secret_key = "mysecretkey" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're not using this secret key any longer.
flex-wrap: wrap; | ||
|
||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
flex-wrap: wrap; | |
} | |
flex-wrap: wrap; | |
} |
from pygments.styles import get_all_styles | ||
|
||
app = Flask(__name__) | ||
app.secret_key = "mysecretkey" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
secret_key
flex-wrap: wrap; | ||
|
||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
flex-wrap: wrap; | |
} | |
flex-wrap: wrap; | |
} |
Code to Image {% block title %}{% endblock %} | ||
Code to Image |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code to Image {% block title %}{% endblock %} | |
Code to Image | |
Code to Image {% block title %}{% endblock %} |
…s into code-image-generator
Where to put new files:
my-awesome-article
How to merge your changes: