forked from rentzsch/markdownlive
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NEW] MarkdownLive 1.4.2. Updated to discount 1.3.5.
- Loading branch information
Showing
81 changed files
with
616 additions
and
330 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
#include <stdio.h> | ||
#include <string.h> | ||
#include <stdarg.h> | ||
#include "cstring.h" | ||
#include "markdown.h" | ||
#include "amalloc.h" | ||
|
||
|
||
/* putc() into a cstring | ||
*/ | ||
void | ||
Csputc(int c, Cstring *iot) | ||
{ | ||
EXPAND(*iot) = c; | ||
} | ||
|
||
|
||
/* printf() into a cstring | ||
*/ | ||
int | ||
Csprintf(Cstring *iot, char *fmt, ...) | ||
{ | ||
va_list ptr; | ||
int siz=100; | ||
|
||
do { | ||
RESERVE(*iot, siz); | ||
va_start(ptr, fmt); | ||
siz = vsnprintf(T(*iot)+S(*iot), ALL(*iot)-S(*iot), fmt, ptr); | ||
va_end(ptr); | ||
} while ( siz > (ALL(*iot)-S(*iot)) ); | ||
|
||
S(*iot) += siz; | ||
return siz; | ||
} | ||
|
||
|
||
/* reparse() into a cstring | ||
*/ | ||
void | ||
Csreparse(Cstring *iot, char *buf, int size, int flags) | ||
{ | ||
MMIOT f; | ||
___mkd_initmmiot(&f, 0); | ||
___mkd_reparse(buf, size, 0, &f); | ||
___mkd_emblock(&f); | ||
SUFFIX(*iot, T(f.out), S(f.out)); | ||
___mkd_freemmiot(&f, 0); | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1.3.5 |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#! /bin/sh | ||
configure.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#! /bin/sh | ||
# script generated Thu Apr 23 15:38:25 CDT 2009 by configure.sh | ||
|
||
test -d "$1" || mkdir -p "$1" | ||
exit 0 |
Oops, something went wrong.