Compare commits
No commits in common. "main" and "v0.1" have entirely different histories.
|
@ -105,12 +105,8 @@ func writePaperSection(file *os.File, paper PaperDecision, decisionType string)
|
||||||
title := strings.ReplaceAll(paper.Paper.Title, "[", "\\[")
|
title := strings.ReplaceAll(paper.Paper.Title, "[", "\\[")
|
||||||
title = strings.ReplaceAll(title, "]", "\\]")
|
title = strings.ReplaceAll(title, "]", "\\]")
|
||||||
|
|
||||||
// Extract just the arXiv ID portion (remove any URL prefix)
|
fmt.Fprintf(file, "## [%s](https://arxiv.org/abs/%s)\n", title, paper.Paper.ArxivID)
|
||||||
arxivID := strings.TrimPrefix(paper.Paper.ArxivID, "http://arxiv.org/abs/")
|
fmt.Fprintf(file, "**arXiv ID:** %s\n\n", paper.Paper.ArxivID)
|
||||||
arxivID = strings.TrimPrefix(arxivID, "https://arxiv.org/abs/")
|
|
||||||
|
|
||||||
fmt.Fprintf(file, "## [%s](https://arxiv.org/abs/%s)\n", title, arxivID)
|
|
||||||
fmt.Fprintf(file, "**arXiv ID:** %s\n\n", arxivID)
|
|
||||||
fmt.Fprintln(file, "**Abstract:**")
|
fmt.Fprintln(file, "**Abstract:**")
|
||||||
|
|
||||||
// Format abstract as blockquote, handling multiple paragraphs
|
// Format abstract as blockquote, handling multiple paragraphs
|
||||||
|
|
Loading…
Reference in New Issue