File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed
src-tauri/src/features/media
src/features/mdx/data/component_map
packages/fluster_developer/src Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -26,9 +26,7 @@ impl MdxParser<String> for VideoTimestampLinkParser {
2626 new_content = new_content. replace (
2727 match_content,
2828 & format ! (
29- r#"<VideoTimestampLink id='{}' timestamp="{}">
30- {}
31- </VideoTimestampLink>"# ,
29+ r#"<VideoTimestampLink id='{}' timestamp="{}">{}</VideoTimestampLink>"# ,
3230 video_id, timestamp, body
3331 ) ,
3432 ) ;
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ import {
3030 H4 ,
3131 P ,
3232 AnchorTag ,
33- Video ,
33+ VideoTimestampLink ,
3434} from "@fluster.io/dev" ;
3535import { MDXComponents } from "mdx/types" ;
3636import { InlineMdxContent } from "#/mdx/presentation/inline_mdx_content" ;
@@ -202,6 +202,10 @@ const items: ComponentMapItem[] = [
202202 query : "EquationTag" ,
203203 component : EquationTag ,
204204 } ,
205+ {
206+ query : "VideoTimestampLink" ,
207+ component : VideoTimestampLink ,
208+ } ,
205209
206210 // -- Documentation Only --
207211 {
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ export * from "./embeddable_components/text/small/index";
88export * from "./embeddable_components/auto_inserted/inline_citation/index" ;
99export * from "./embeddable_components/auto_inserted/dictionary_entry/index" ;
1010export * from "./embeddable_components/auto_inserted/equation_tag/index" ;
11+ export * from "./embeddable_components/auto_inserted/video_timestamp_link/index" ;
1112export * from "./embeddable_components/academic/bibliography_citation/index" ;
1213export * from "./embeddable_components/html_elements/block_quote" ;
1314export * from "./embeddable_components/colors/color_swatch/index" ;
You can’t perform that action at this time.
0 commit comments