File tree Expand file tree Collapse file tree 4 files changed +23
-23
lines changed
Expand file tree Collapse file tree 4 files changed +23
-23
lines changed Original file line number Diff line number Diff line change 112112 © 2024 Issuefy. All rights reserved.
113113 </div >
114114 <div class =" flex space-x-6 items-center" >
115- <a href =" https://github.com/2024-Iris" target = " _blank " rel =" noopener noreferrer"
116- class = " text-gray-500 hover:text-gray-900 " >About</a >
117- <a href =" mailto:2024irisproject@gmail.com" rel = " noopener noreferrer "
118- class = " text-gray-500 hover:text-gray-900 " >Feedback</a >
115+ <a class = " text-gray-500 hover:text-gray-900 " href =" https://github.com/2024-Iris" rel =" noopener noreferrer"
116+ target = " _blank " >About</a >
117+ <a class = " text-gray-500 hover:text-gray-900 " href =" mailto:2024irisproject@gmail.com"
118+ rel = " noopener noreferrer " >Feedback</a >
119119 </div >
120120 </div >
121121 </div >
Original file line number Diff line number Diff line change 3030</template >
3131
3232<script setup>
33- import { ref , computed } from ' vue' ;
33+ import {computed , ref } from ' vue' ;
3434import axios from ' axios' ;
35- import { useAuthStore } from " @/store/pinia" ;
35+ import {useAuthStore } from " @/store/pinia" ;
3636
3737const authStore = useAuthStore ();
3838const stats = ref ({
Original file line number Diff line number Diff line change 2424 <div class =" px-6 py-4 border-b border-gray-200" >
2525 <div class =" flex-grow overflow-x-auto" >
2626 <div class =" bg-white rounded-lg mb-2" >
27- <div class =" prose max-w-none text-gray-700 markdown-body" :innerHTML = " renderMarkdown(issue.body) " ></div >
27+ <div :innerHTML = " renderMarkdown(issue.body) " class =" prose max-w-none text-gray-700 markdown-body" ></div >
2828 </div >
2929 <div v-if =" issue.labels.length > 0" class =" mt-2" >
3030 <span v-for =" label in issue.labels" :key =" label.id"
4747 <div class =" px-6 py-4" >
4848 <div class =" flex-grow" >
4949 <div class =" bg-white rounded-lg" >
50- <div class =" prose max-w-none text-gray-700 markdown-body" :innerHTML = " renderMarkdown(comment.body) " ></div >
50+ <div :innerHTML = " renderMarkdown(comment.body) " class =" prose max-w-none text-gray-700 markdown-body" ></div >
5151 </div >
5252 </div >
5353 </div >
Original file line number Diff line number Diff line change @@ -27,21 +27,21 @@ authStore.initCredentials()
2727app . config . globalProperties . $axios = axios
2828
2929const md = new MarkdownIt ( {
30- highlight : function ( str , lang ) {
31- if ( lang && hljs . getLanguage ( lang ) ) {
32- try {
33- return '<pre class="hljs"><code>' +
34- hljs . highlight ( str , { language : lang , ignoreIllegals : true } ) . value +
35- '</code></pre>'
36- } catch ( error ) {
37- console . error ( 'Failed to highlight code block:' , error )
38- }
39- }
40- return '<pre class="hljs"><code>' + md . utils . escapeHtml ( str ) + '</code></pre>'
41- } ,
42- html : true ,
43- linkify : true ,
44- typographer : true
30+ highlight : function ( str , lang ) {
31+ if ( lang && hljs . getLanguage ( lang ) ) {
32+ try {
33+ return '<pre class="hljs"><code>' +
34+ hljs . highlight ( str , { language : lang , ignoreIllegals : true } ) . value +
35+ '</code></pre>'
36+ } catch ( error ) {
37+ console . error ( 'Failed to highlight code block:' , error )
38+ }
39+ }
40+ return '<pre class="hljs"><code>' + md . utils . escapeHtml ( str ) + '</code></pre>'
41+ } ,
42+ html : true ,
43+ linkify : true ,
44+ typographer : true
4545} )
4646app . config . globalProperties . $md = md
4747
You can’t perform that action at this time.
0 commit comments