Skip to content

Commit

Permalink
Merge branch 'master' into refactor_line_numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
guanglinn authored Jan 3, 2025
2 parents 057661e + 0622938 commit 0c6f76c
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 7 deletions.
15 changes: 13 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,19 @@
- See [Discussions](https://github.com/gsantner/markor/discussions), [Issues](https://github.com/gsantner/markor/issues) and [Project news](https://github.com/gsantner/markor/blob/master/NEWS.md) to see what is going on.
- New Updates also visible here: <https://github.com/gsantner/markor/releases>

### v2.13 series
- [2.13.0](https://github.com/gsantner/markor/compare/v2.12.6...v2.13.0)
### v2.13-14
- [2.13.0 - 2.14.0](https://github.com/gsantner/markor/compare/v2.13.0...v2.14.0)
- Markdown: Fix rendering of '$' in non-math view mode (PR #2485 closes #2085 #2236)
- Android Studio latest version support
- Keyboard TAB key handling, syntax highlighting performance, filebrowser navigation (PR #2487 closes #2469 #2484)
- Restore audio action (PR #2481)
- Multi user file browsing, closes #2479 (PR #2482)
- Select lines (PR #2443 by @harshad1)
- Fix various crashes of v2.13.1, by @gsantner
- Fix lots of minor issues and crashes in v2.13.0, by @gsantner
- Update F-Droid metadata links (#2466)
- (wshoy/storageButton, wshoy/master) Update translations (#2467)
- Remove OmRecorder (Voice/Audio recording feature), library outdated and download broken. (PR #2468)

### v2.12 series
- [2.12.0](https://github.com/gsantner/markor/compare/v2.11.1...v2.12.0)
Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ android {
defaultConfig {
resValue "string", "manifest_package_id", "net.gsantner.markor"
applicationId "net.gsantner.markor"
versionName "2.13.1"
versionCode 156
versionName "2.14.0"
versionCode 157

multiDexEnabled true
minSdkVersion rootProject.ext.version_minSdk
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -267,9 +267,13 @@ public String convertMarkup(String markup, Context context, boolean lightMode, b
}

// Enable Math / KaTex
if (_appSettings.isMarkdownMathEnabled() && markup.contains("$")) {
head += HTML_KATEX_INCLUDE;
head += CSS_KATEX;
if (markup.contains("$")) {
if (_appSettings.isMarkdownMathEnabled()) {
head += HTML_KATEX_INCLUDE;
head += CSS_KATEX;
} else {
markup = markup.replace("$", "\\$");
}
}

// Enable View (block) code syntax highlighting
Expand Down

0 comments on commit 0c6f76c

Please sign in to comment.