MacDownApp / MacDownApp/macdown
Start number of numbered lists
Nobody has claimed this yet.
- Dominant language
- Rich Text Format
- Stars
- 9.8k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
When I paste some texts from one of my plain text file and try to put it in markdown format, the numbered list is not displayed correctly.
Please find my texts below, it is correct here on issue page but it is not displayed correctly in macDown.
macDown version: 0.7.1 (870)
os: macOS Mojave 10.14.2 (18C54)
-
user_init()中创建一个任务:
xTaskCreate(led_toggle_task, "led_toggle_task", 256, NULL, 1, NULL); -
Initialise LED pin:
GPIO14
复制examples/driver_lib/driver/gpio.c复制到项目的driver文件夹,把examples/driver_lib/include/gpio.h复制到项目的include文件夹
设置头文件包含#include "include/gpio.h"
void led_init( void )
{
GPIO_ConfigTypeDef GPIOConfig;
GPIOConfig.GPIO_Pin = GPIO_Pin_14;
GPIOConfig.GPIO_Mode = GPIO_Mode_Output;
GPIOConfig.GPIO_Pullup = GPIO_PullUp_EN;
GPIOConfig.GPIO_IntrType = GPIO_PIN_INTR_DISABLE;
gpio_config( &GPIOConfig );
}
- 进行 GPIO toggle
void led_toggle( void )
{
uint32_t bit;
bit = GPIO_INPUT_GET( 14 );
GPIO_OUTPUT( GPIO_Pin_14 , bit ^ 0x00000001 );
}
- 任务调度
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the pasted numbered-list example in MacDown 0.7.1 on macOS Mojave, comparing its rendering with the GitHub issue-page rendering and the linked screenshot. Trace the Markdown rendering path responsible for numbered lists; done means the supplied example displays its list numbering correctly in MacDown.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, markdown
- Domain
- content, desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100
