diff --git a/src/BootstrapBlazor.Server/BootstrapBlazor.Server.csproj b/src/BootstrapBlazor.Server/BootstrapBlazor.Server.csproj
index 55f8b1f0991..875d4257869 100644
--- a/src/BootstrapBlazor.Server/BootstrapBlazor.Server.csproj
+++ b/src/BootstrapBlazor.Server/BootstrapBlazor.Server.csproj
@@ -53,7 +53,7 @@
-
+
diff --git a/src/BootstrapBlazor.Server/Components/Samples/RDKits.razor b/src/BootstrapBlazor.Server/Components/Samples/RDKits.razor
index 956bb33422a..01b1fdacdc9 100644
--- a/src/BootstrapBlazor.Server/Components/Samples/RDKits.razor
+++ b/src/BootstrapBlazor.Server/Components/Samples/RDKits.razor
@@ -12,3 +12,19 @@
Name="Normal">
+
+
+
+
+
diff --git a/src/BootstrapBlazor.Server/Components/Samples/RDKits.razor.cs b/src/BootstrapBlazor.Server/Components/Samples/RDKits.razor.cs
index 4bdf6105241..05abdf3297c 100644
--- a/src/BootstrapBlazor.Server/Components/Samples/RDKits.razor.cs
+++ b/src/BootstrapBlazor.Server/Components/Samples/RDKits.razor.cs
@@ -10,5 +10,7 @@ namespace BootstrapBlazor.Server.Components.Samples;
///
public partial class RDKits
{
+ private string? Smarts => _showSmarts ? "Oc1[c,n]cccc1" : "";
+ private bool _showSmarts;
}
diff --git a/src/BootstrapBlazor.Server/Locales/en-US.json b/src/BootstrapBlazor.Server/Locales/en-US.json
index a58a03fc616..cb4ecf77914 100644
--- a/src/BootstrapBlazor.Server/Locales/en-US.json
+++ b/src/BootstrapBlazor.Server/Locales/en-US.json
@@ -6843,6 +6843,9 @@
"RDKitTitle": "RDKit",
"RDKitDescription": "A powerful cheminformatics and molecule rendering toolbelt for Blazor, Powered by RDKit",
"RDKitNormalTitle": "Basic usage",
- "RDKitNormalIntro": "Set the molecular formula through Value and draw the component"
+ "RDKitNormalIntro": "Set the molecular formula through Value and draw the component",
+ "RDKitSmartsTitle": "Smarts",
+ "RDKitSmartsIntro": "By setting the Smarts value, parts of the molecular formula can be highlighted",
+ "RDKitSmartsLabel": "Show Smarts"
}
}
diff --git a/src/BootstrapBlazor.Server/Locales/zh-CN.json b/src/BootstrapBlazor.Server/Locales/zh-CN.json
index b1c25a66155..c40ff36c26e 100644
--- a/src/BootstrapBlazor.Server/Locales/zh-CN.json
+++ b/src/BootstrapBlazor.Server/Locales/zh-CN.json
@@ -6843,6 +6843,9 @@
"RDKitTitle": "分子图组件",
"RDKitDescription": "RDKit 是一个开源的化学信息学工具包,用于分子建模和化学信息学",
"RDKitNormalTitle": "基础用法",
- "RDKitNormalIntro": "通过 Value 设置分子式,组件画图"
+ "RDKitNormalIntro": "通过 Value 设置分子式,组件画图",
+ "RDKitSmartsTitle": "Smarts",
+ "RDKitSmartsIntro": "通过设置 Smarts 值,高亮显示部分分子式",
+ "RDKitSmartsLabel": "显示 Smarts"
}
}