```css
@echo off
rem convert markdown to html
rem this is a batch file
rem author: sammie
rem date: 2023-04-01
rem github: github.com/sammie/batch-file-to-html
set /p input_markdown=Enter markdown text:
set /a counter=1
for /f "delims=" %%a in ("%input_markdown%") do (
echo(%%a
set /a counter=%counter%+1
)
endlocal
echo(
```
```python
def markdown_to_html(self, input_markdown: str) -> None:
counter = 1
for line in input_markdown.split("\n"):
print(f"\n{counter}")
counter += 1
```