mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 15:48:32 -06:00
improving replace url features
This commit is contained in:
@@ -108,6 +108,12 @@ export const getStatus = ({
|
||||
markdownToHTMLSafe({
|
||||
markdownString: assignment.description,
|
||||
settings,
|
||||
replaceText: [
|
||||
{
|
||||
source: "insert_github_classroom_url",
|
||||
destination: assignment.githubClassroomAssignmentShareLink || "",
|
||||
},
|
||||
],
|
||||
}),
|
||||
canvasAssignment.description
|
||||
);
|
||||
|
||||
@@ -59,7 +59,15 @@ export default function AssignmentPreview({
|
||||
<hr />
|
||||
<br />
|
||||
<section>
|
||||
<MarkdownDisplay markdown={assignment.description} />
|
||||
<MarkdownDisplay
|
||||
markdown={assignment.description}
|
||||
replaceText={[
|
||||
{
|
||||
source: "insert_github_classroom_url",
|
||||
destination: assignment.githubClassroomAssignmentShareLink || "",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</section>
|
||||
<hr />
|
||||
<section>
|
||||
|
||||
Reference in New Issue
Block a user