Objective-cpp Codeblock Highlight
Add this to the head
of your HTML Page, or
add Shiki.
<script src="https://esm.sh/[email protected]" defer async></script>
Edit the codeblock.
#include <iostream>
#import <Foundation/Foundation.h>
int main(int argc, const char * argv[]) {
@autoreleasepool {
std::cout << "Hello, Objective-C++!" << std::endl;
}
return 0;
}
Copy paste this.