You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
343 B
15 lines
343 B
|
|
#include <stdio.h> |
|
|
|
extern "C" { |
|
void syntect_init(); |
|
char * syntect_to_html(const char * langext, const char *theme, const char *code); |
|
void print_hello_from_rust(); |
|
} |
|
|
|
int main() { |
|
syntect_init(); |
|
|
|
char * yeet = syntect_to_html("py", "base16-ocean.light", "print(f\"Hello World! {time}\":)"); |
|
printf("%s", yeet); |
|
}
|
|
|