Documentation
¶
Index ¶
Constants ¶
View Source
const Version = "0.0.3"
Variables ¶
This section is empty.
Functions ¶
func InitLogger ¶
func InitLogger(level string)
func RenderSpec ¶
RenderSpec compiles markdown to fully designed interactive HTML
func StartReviewServer ¶
func StartReviewServer(ctx context.Context, htmlContent []byte, inputPath string, port int, noOpen bool, readyChan chan<- string) error
StartReviewServer serves the compiled HTML spec, opens browser, and captures feedback. It accepts an optional readyChan, which receives the running server's URL once the port is bound.
Types ¶
type Comment ¶
type Comment struct {
Text string `json:"text"`
Timestamp string `json:"timestamp"`
Anchor string `json:"anchor,omitempty"` // Element selector ID/anchor
Context string `json:"context,omitempty"` // Preview text context of the commented element
}
Comment defines the unified structure for feedback comments.
Click to show internal directories.
Click to hide internal directories.