Program code formatting in posts

Aug 21, 2021 15:16


Title
Program code formatting in posts

Short, concise description of the idea
Create LiveJournal text formatting tags for program codes in various programming languages.

Full description of the idea
Now, if I want to include a program code in my LiveJournal post, I include
${PROGRAM_CODE}, for example:

int main(void) {
return 0;
}

The program code is not syntax-highlighted. Using two tags instead of one isn't convenient.

There are program libraries for highlighting syntax.
An ordered list of benefits
  • LiveJournal has the reputation of the intellectual blogosphere. It can lure programmer users with this feature.
An ordered list of problems/issues involved
  • Requires changing the post editor.

entry editor, entries, entry creation, entry editor: html

Previous post Next post
Up