Skip to content

Commit

Permalink
Inserted text should have MATLAB®
Browse files Browse the repository at this point in the history
Co-authored-by: MiriamScharnke <[email protected]>
  • Loading branch information
ccreutzi and MiriamScharnke authored Jul 29, 2024
1 parent c31e76e commit 570aaa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .githooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ if [ -n "$changedMlxFiles" ]; then
git add ${file%.md}_media/
fi
perl -pi -e "\$cnt++ if /^#/; " \
-e "\$_ .= \"\nTo run the code shown on this page, open the MLX file in MATLAB: [mlx-scripts/$(basename $file .md).mlx](mlx-scripts/$(basename $file .md).mlx) \n\" if /^#/ && \$cnt==1;" \
-e "\$_ .= \"\nTo run the code shown on this page, open the MLX file in MATLAB®: [mlx-scripts/$(basename $file .md).mlx](mlx-scripts/$(basename $file .md).mlx) \n\" if /^#/ && \$cnt==1;" \
$file
done
git add $mdFiles
Expand Down

0 comments on commit 570aaa1

Please sign in to comment.