summaryrefslogtreecommitdiff
path: root/src/library
diff options
context:
space:
mode:
Diffstat (limited to 'src/library')
-rw-r--r--src/library/mod.rs6
-rw-r--r--src/library/prelude.rs2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/library/mod.rs b/src/library/mod.rs
index b5a0e8eb..17a7a681 100644
--- a/src/library/mod.rs
+++ b/src/library/mod.rs
@@ -143,9 +143,9 @@ pub fn scope() -> Scope {
std
}
-/// Construct the standard role map.
-pub fn roles() -> RoleMap {
- RoleMap {
+/// Construct the language map.
+pub fn items() -> LangItems {
+ LangItems {
strong: |body| Content::show(text::StrongNode(body)),
emph: |body| Content::show(text::EmphNode(body)),
raw: |text, lang, block| {
diff --git a/src/library/prelude.rs b/src/library/prelude.rs
index c5a6bc8e..dfc74ec8 100644
--- a/src/library/prelude.rs
+++ b/src/library/prelude.rs
@@ -22,4 +22,4 @@ pub use crate::model::{
};
pub use crate::syntax::{Span, Spanned};
pub use crate::util::EcoString;
-pub use crate::{RoleMap, World};
+pub use crate::{LangItems, World};