Skip to content

Commit e34aae1

Browse files
committed
Version 0.36.0
1 parent 7b80e66 commit e34aae1

File tree

6 files changed

+9
-8
lines changed

6 files changed

+9
-8
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "nmd"
3-
version = "0.35.0"
3+
version = "0.36.0"
44
authors = ["Nicola Ricciardi"]
55
edition = "2021"
66
description = "Official NMD CLI and compiler"

DEVELOP.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,6 @@ nothing
6767
- [x] Include all .nmd file in running directory as default option in dossier configuration
6868
- [x] Compile single files
6969
- [ ] Table of contents with page numbers
70+
- [ ] Select position of ToC and Bibliography
7071
- [ ] Cover page
7172
- [ ] VS Code extension (https://dev.to/salesforceeng/how-to-build-a-vs-code-extension-for-markdown-preview-using-remark-processor-1169)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
**New way to write in markdown**
66

77
[![License](https://img.shields.io/badge/license-GPL3-green.svg)](LICENSE)
8-
[![Version](https://img.shields.io/badge/version-v0.35.0-blue.svg)](CHANGELOG.md)
8+
[![Version](https://img.shields.io/badge/version-v0.36.0-blue.svg)](CHANGELOG.md)
99

1010
NMD stands for **New MarkDown**, or for friends, *Nicola MarkDown* (if Stephen Bourne can name a shell, why can't I name mine NMD?)
1111

src/compiler/preview.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ pub enum PreviewError {
2121

2222
pub trait Preview {
2323

24-
async fn start(&mut self) -> Result<(), PreviewError>;
24+
fn start(&mut self) -> impl std::future::Future<Output = Result<(), PreviewError>> + Send;
2525

26-
async fn render(&mut self) -> Result<(), PreviewError>;
26+
fn render(&mut self) -> impl std::future::Future<Output = Result<(), PreviewError>> + Send;
2727

28-
async fn update(&mut self) -> Result<(), PreviewError>;
28+
fn update(&mut self) -> impl std::future::Future<Output = Result<(), PreviewError>> + Send;
2929

30-
async fn stop(&mut self) -> Result<(), PreviewError>;
30+
fn stop(&mut self) -> impl std::future::Future<Output = Result<(), PreviewError>> + Send;
3131
}

src/constants.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
/// NMD version
3-
pub const VERSION: &str = "0.35.0";
3+
pub const VERSION: &str = "0.36.0";
44

55

66
pub const DOSSIER_CONFIGURATION_YAML_FILE_NAME: &str = "nmd.yml";

test-resources/nmd-test-dossier-1/d1.nmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ preamble
55
# title 1
66

77

8-
paragraph 1.
8+
paragraph 1
99

1010
TODO
1111

0 commit comments

Comments
 (0)