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
/* Arno Richter, May 2014 */ | |
- (NSNumber *)getIndexOf:(NSString *)c alphabet:(NSString*)string { | |
for(int i=0; i<[string length]; i++) { | |
if([c characterAtIndex:0] == [string characterAtIndex:i]) { | |
return [NSNumber numberWithInteger:i]; | |
} | |
} |
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
<?php | |
/* makes the 'Markdown" function and the 'Markdown_Parser' class available to your scripts */ | |
require( 'parsedown.php' ); | |
@define( 'MARKDOWN_PARSER_CLASS', 'Markdown_Parser' ); | |
@define( 'NEWLINE_TO_BREAK', true ); | |
function Markdown($text) { |
NewerOlder