Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved test, fix for multiple codeblocks, code quality and comments #1

Merged
merged 4 commits into from
Oct 14, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixed path to test.md in demos
  • Loading branch information
sezanzeb committed Oct 13, 2021
commit e0547214f2a758988c9265a0b2a0c32cc4a7654c
2 changes: 1 addition & 1 deletion demos/gtk3-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const file = GLib.path_get_basename(args[0])
const dir = GLib.path_get_dirname(args[0])
const root = GLib.path_get_dirname(dir)

const test_md = path(root, 'test.md')
const test_md = path(root, 'tests/test.md')
const readme_md = path(root, 'README.md')
const contrib_md = path(root, 'CONTRIBUTING.md')
const src = path(root, 'src')
Expand Down
2 changes: 1 addition & 1 deletion demos/gtk4-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const file = GLib.path_get_basename(args[0])
const dir = GLib.path_get_dirname(args[0])
const root = GLib.path_get_dirname(dir)

const test_md = path(root, 'test.md')
const test_md = path(root, 'tests/test.md')
const readme_md = path(root, 'README.md')
const contrib_md = path(root, 'CONTRIBUTING.md')
const src = path(root, 'src')
Expand Down
2 changes: 1 addition & 1 deletion src/bin/md2pango
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ function convert(text) {

try_close_span()

// remove trailing newlines
// remove trailing whitespaces
output = output.map(line => line.replace(/ +$/, ''))

return output.join('\n')
Expand Down