Added new blog

This commit is contained in:
Stephen Cochrane 2020-05-03 21:20:31 +02:00
parent ce34b5fd62
commit 242630d413
3 changed files with 28 additions and 1 deletions

View File

@ -21,7 +21,7 @@ clean:
rm -rf obj
rm -rf bin
blog: all
blog: clean all
@# Reset all blogs to start build.
@# Setup boilerplate html files for blog files
-@for blog in ./blogs/RawBlogs/*.blog ; do \

View File

@ -0,0 +1,24 @@
[
So I am actually rather excited,
This entire blog post was generated by
my C script, and the Markdown langauge I designed for it :D
I have succesfully created blog writing software,
This actually allows me to type my blogposts
in vim, and then I simply have to
run
]
[
$ make blog
]
[
and my entire blog structure is created, if you are interested in seeing the source code, the link is at the bottem of the page.
]
(
TODO: Setup Alph Order.
)
(
TODO: Fix Box bugs.
)
(
TODO: Fix newline bugs.
)

View File

@ -169,6 +169,9 @@ void parseNoBox() {
while (ch != ']' && ch != EOF) {
cat[0] = ch;
cat[1] = '\0';
if (ch == '\n') {
i = 0;
}
if (i > 61) {
if (ch != ',' && ch != ' ') {