Adds language detection for individual notes and basic styling for RTL languages.